summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorchenjinsong <[email protected]>2018-09-27 16:11:54 +0800
committerchenjinsong <[email protected]>2018-09-27 16:11:54 +0800
commit56d71f261a8bd6031e47e2bf80867049a2aa13da (patch)
treef09257b2143782a333a9eda3395137837d9bdad1 /bin
initial commit
Diffstat (limited to 'bin')
-rw-r--r--bin/log4j.properties.svntmp15
1 files changed, 15 insertions, 0 deletions
diff --git a/bin/log4j.properties.svntmp b/bin/log4j.properties.svntmp
new file mode 100644
index 0000000..c5aa4c7
--- /dev/null
+++ b/bin/log4j.properties.svntmp
@@ -0,0 +1,15 @@
+log4j.rootLogger = debug,stdout,logfile
+
+log4j.appender.stdout = org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout.ConversionPattern = %d %p [%c] [%t] - <%m>%n
+log4j.appender.stdout.layout = org.apache.log4j.PatternLayout
+
+#----------------------debug---------------------
+
+log4j.appender.logfile = org.apache.log4j.RollingFileAppender
+log4j.appender.logfile.MaxFileSize = 50MB
+log4j.appender.logfile.MaxBackupIndex = 20
+
+log4j.appender.logfile.File = ./nc_logs/nmsclient.log
+log4j.appender.logfile.layout.ConversionPattern = %d %p [%c] [%t] - <%m>%n
+log4j.appender.logfile.layout = org.apache.log4j.PatternLayout