Skip to content
Permalink
Browse files

Added date to log output and shortened package names

  • Loading branch information...
lucaro committed Dec 18, 2017
1 parent 34cb576 commit ea0992fb71575c8648927796b769398c4bf0d381
Showing with 17 additions and 21 deletions.
  1. +17 −21 config/log4j2.xml
@@ -1,24 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="INFO">
<Appenders>
<Console name="Console" target="SYSTEM_OUT">
<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/>
</Console>
<!--<File name="MyFile" fileName="cineast.log" bufferedIO="false">
<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/>
</File>-->
</Appenders>
<Loggers>
<logger name="io" level="ERROR">
<AppenderRef ref="Console"/>
</logger>
<logger name="org" level="INFO">
<AppenderRef ref="Console"/>
</logger>
<logger name="org.vitrivr.cineast" level="DEBUG">
</logger>
<Root level="info">
<!--<AppenderRef ref="MyFile"/>-->
</Root>
</Loggers>
<Appenders>
<Console name="Console" target="SYSTEM_OUT">
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss.SSS} [%t] %p %c{1.} - %msg%n"/>
</Console>
</Appenders>
<Loggers>
<logger name="io" level="ERROR">
<AppenderRef ref="Console"/>
</logger>
<logger name="org" level="INFO">
<AppenderRef ref="Console"/>
</logger>
<logger name="org.vitrivr.cineast" level="DEBUG">
</logger>
<Root level="info">
</Root>
</Loggers>
</Configuration>

0 comments on commit ea0992f

Please sign in to comment.
You can’t perform that action at this time.