<commit_before><?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
	<!-- voor de ConversionPattern parameters zie: http://logging.apache.org/log4j/docs/api/org/apache/log4j/PatternLayout.html 
		LEVELS: debug, info, warn, error, fatal en off, all -->
	<appender name="consoleAppender" class="org.apache.log4j.ConsoleAppender">
		<param name="Threshold" value="debug" />
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="CBSVWR: %5p %d{HH:mm:ss} (%C#%M:%L) - %m%n" />
		</layout>
	</appender>
	<appender name="rollingFileAppender" class="org.apache.log4j.RollingFileAppender">
		<param name="Threshold" value="debug" />
		<param name="File" value="${catalina.home}/logs/cbsviewer.log" />
		<param name="Append" value="true" />
		<param name="MaxFileSize" value="5MB" />
		<param name="MaxBackupIndex" value="10" />
		<param name="ImmediateFlush" value="true" />
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="CBSVWR: %5p %d [%t :: %x] (%C#%M:%L) - %m%n" />
		</layout>
	</appender>
	<appender name="ganymedeAppender" class="org.apache.log4j.net.SocketAppender">
		<!-- zie: http://ganymede.sourceforge.net/ -->
		<param name="remoteHost" value="localhost" />
		<param name="port" value="4445" />
		<param name="locationInfo" value="true" />
	</appender>
	<logger name="nl.mineleni.cbsviewer">
		<level value="debug" />
	</logger>
	<logger name="org.geotools">
		<level value="warn" />
	</logger>
	<logger name="org.apache.commons.httpclient.Wire">
		<!-- debug toont al het verkeer -->
		<level value="warn" />
	</logger>
	<logger name="httpclient.wire">
		<!-- debug toont al het verkeer -->
		<level value="warn" />
	</logger>
	<logger name="org.apache.commons">
		<level value="error" />
	</logger>
	<root>
		<!-- kies: consoleAppender voor in de ide of rollingFileAppender voor op 
			de server 
			
			<appender-ref ref="ganymedeAppender" /> 
			<appender-ref ref="consoleAppender" /> 
			
		-->
		<appender-ref ref="rollingFileAppender" />
	</root>
</log4j:configuration><commit_msg>bijwerken logging opties<commit_after><?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
	<!-- voor de ConversionPattern parameters zie: http://logging.apache.org/log4j/docs/api/org/apache/log4j/PatternLayout.html 
		LEVELS: debug, info, warn, error, fatal en off, all -->
	<appender name="consoleAppender" class="org.apache.log4j.ConsoleAppender">
		<param name="Threshold" value="debug" />
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="CBSVWR: %5p %d{HH:mm:ss} (%C#%M:%L) - %m%n" />
		</layout>
	</appender>
	<appender name="rollingFileAppender" class="org.apache.log4j.RollingFileAppender">
		<param name="Threshold" value="debug" />
		<param name="File" value="${catalina.home}/logs/cbsviewer.log" />
		<param name="Append" value="true" />
		<param name="MaxFileSize" value="5MB" />
		<param name="MaxBackupIndex" value="10" />
		<param name="ImmediateFlush" value="true" />
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="CBSVWR: %5p %d [%t :: %x] (%C#%M:%L) - %m%n" />
		</layout>
	</appender>
	<appender name="ganymedeAppender" class="org.apache.log4j.net.SocketAppender">
		<!-- zie: http://ganymede.sourceforge.net/ -->
		<param name="remoteHost" value="localhost" />
		<param name="port" value="4445" />
		<param name="locationInfo" value="true" />
	</appender>
	<logger name="nl.mineleni.cbsviewer">
		<level value="debug" />
	</logger>
	<logger name="org.geotools">
		<level value="warn" />
	</logger>
	<logger name="org.apache.commons.httpclient.Wire">
		<!-- debug toont al het verkeer -->
		<level value="warn" />
	</logger>
	<logger name="org.apache.commons">
		<level value="error" />
	</logger>
	<logger name="httpclient.wire">
		<!-- debug toont al het verkeer -->
		<level value="warn" />
	</logger>
	<root>
		<!-- kies: consoleAppender voor in de ide of rollingFileAppender voor op 
			de server 
			<appender-ref ref="ganymedeAppender" /> 
			<appender-ref ref="consoleAppender" /> 
			<appender-ref ref="rollingFileAppender" /> 
			-->
		<appender-ref ref=rollingFileAppender />
	</root>
</log4j:configuration>
{'fraction_non_alphanumeric': 0.1937457511896669, 'fraction_numerical': 0.011330160888284613, 'mean_word_length': 4.608640406607369, 'pattern_counts': {'":': 0, '<': 106, '<?xml version=': 2, '>': 106, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5873283', 'n_tokens_mistral': 1699, 'n_tokens_neox': 1588, 'n_words': 295}