first commit
This commit is contained in:
parent
352e1653f8
commit
16a197e856
44 changed files with 5942 additions and 3 deletions
27
src/main/resources/log4j2.xml
Normal file
27
src/main/resources/log4j2.xml
Normal file
|
@ -0,0 +1,27 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<configuration status="warn">
|
||||
<appenders>
|
||||
<Console name="Console" target="SYSTEM_OUT">
|
||||
<ThresholdFilter level="INFO" onMatch="ACCEPT" onMismatch="DENY" />
|
||||
<PatternLayout>
|
||||
<pattern>%-5level %logger{1} - %msg%throwable%n</pattern>
|
||||
</PatternLayout>
|
||||
</Console>
|
||||
<File name="LogFile" fileName="modman-log.txt" append="false">
|
||||
<ThresholdFilter level="DEBUG" onMatch="ACCEPT" onMismatch="DENY" />
|
||||
<PatternLayout>
|
||||
<pattern>%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%throwable%n</pattern>
|
||||
</PatternLayout>
|
||||
</File>
|
||||
</appenders>
|
||||
<loggers>
|
||||
<logger name="net.vhati" level="trace" additivity="false">
|
||||
<appender-ref ref="Console"/>
|
||||
<appender-ref ref="LogFile"/>
|
||||
</logger>
|
||||
<root level="error">
|
||||
<appender-ref ref="Console"/>
|
||||
<appender-ref ref="LogFile"/>
|
||||
</root>
|
||||
</loggers>
|
||||
</configuration>
|
Loading…
Add table
Add a link
Reference in a new issue