<commit_before><commit_msg>Added custom log4j2 XML configuration file with extended timestamps<commit_after><?xml version="1.0" encoding="UTF-8"?>
<!-- log4j2.xml - Example log4j configuration file
     Place this file in the same directory as your server.jar, edit
     to taste, and add -Dlog4j.configurationFile=log4j2.xml to your
     server startup flags.
     More log4j example configs can be found at
     <http://logging.apache.org/log4j/2.x/manual/appenders.html>.
-->

<Configuration status="WARN" packages="net.minecraft,com.mojang">
	<Appenders>

		<!-- DEFAULT APPENDERS -->

		<!-- console logging - logs to stdout -->
		<Console name="SysOut" target="SYSTEM_OUT">
			<PatternLayout pattern="[%d{yyyy-MM-dd HH:mm:ss}] [%t/%level]: %msg%n" />
		</Console>

		<!-- GUI logging - ignored if you use `java -jar server.jar nogui` -->
		<Queue name="ServerGuiConsole">
			<PatternLayout pattern="[%d{yyyy-MM-dd HH:mm:ss} %level]: %msg%n" />
		</Queue>

		<!-- file logging - stuff under the logs/ dir -->
		<RollingRandomAccessFile name="File" fileName="logs/latest.log"
			                     filePattern="logs/%d{yyyy-MM-dd}-%i.log.gz">
			<PatternLayout pattern="[%d{yyyy-MM-dd HH:mm:ss}] [%t/%level]: %msg%n" />
			<Policies>
				<TimeBasedTriggeringPolicy />
				<OnStartupTriggeringPolicy />
				<!-- <SizeBasedTriggeringPolicy size="250 MB"/> -->
			</Policies>
			<!-- keep up to 20 files before removing them -->
			<!-- <DefaultRolloverStrategy max="20"/> -->
		</RollingRandomAccessFile>

		<!-- EXAMPLE APPENDERS -->

		<!-- legacy logging - logs to server.log -->
		<File name="LegacyServerLog" fileName="server.log">
			<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss} [%level] %msg%n" />
		</File>

	</Appenders>
	<Loggers>
		<Root level="info">

			<!-- DEFAULT LOGGERS -->

			<filters>
				<MarkerFilter marker="NETWORK_PACKETS" onMatch="DENY"
				              onMismatch="NEUTRAL" />
			</filters>
			<AppenderRef ref="SysOut"/>
			<AppenderRef ref="File"/>
			<AppenderRef ref="ServerGuiConsole"/>

			<!-- EXAMPLE LOGGERS -->

			<!-- <AppenderRef ref="LegacyServerLog"/> -->
		</Root>
	</Loggers>
</Configuration>
{'fraction_non_alphanumeric': 0.17668997668997669, 'fraction_numerical': 0.009790209790209791, 'mean_word_length': 3.292, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 1, '>': 51, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 3}, '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': '5785434', 'n_tokens_mistral': 799, 'n_tokens_neox': 699, 'n_words': 159}