mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
[AdminConsole] Added log4j.properties
This commit is contained in:
parent
aae97e0f32
commit
a87dc12efe
1 changed files with 14 additions and 0 deletions
14
Mage.Server.Console/src/main/resources/log4j.properties
Normal file
14
Mage.Server.Console/src/main/resources/log4j.properties
Normal file
|
@ -0,0 +1,14 @@
|
|||
#default levels
|
||||
log4j.rootLogger=info, console, logfile
|
||||
|
||||
#console log
|
||||
log4j.appender.console=org.apache.log4j.ConsoleAppender
|
||||
log4j.appender.console.layout=org.apache.log4j.PatternLayout
|
||||
log4j.appender.console.layout.ConversionPattern=%-5p [%d{yyyy-MM-dd HH:mm [ss:SSS]}] %C{1}[%t]: %m%n
|
||||
log4j.appender.console.Threshold=DEBUG
|
||||
|
||||
#file log
|
||||
log4j.appender.logfile=org.apache.log4j.FileAppender
|
||||
log4j.appender.logfile.File=mageadmin.log
|
||||
log4j.appender.logfile.layout=org.apache.log4j.PatternLayout
|
||||
log4j.appender.logfile.layout.ConversionPattern=%-5p [%d{yyyy-MM-dd HH:mm [ss:SSS]}] %C{1}[%t]: %m%n
|
Loading…
Reference in a new issue