summaryrefslogtreecommitdiffstats
path: root/Monitoring/MonitoringTool/PacketTracking/netview/src/main/resources/log4j.properties
diff options
context:
space:
mode:
Diffstat (limited to 'Monitoring/MonitoringTool/PacketTracking/netview/src/main/resources/log4j.properties')
-rw-r--r--Monitoring/MonitoringTool/PacketTracking/netview/src/main/resources/log4j.properties49
1 files changed, 49 insertions, 0 deletions
diff --git a/Monitoring/MonitoringTool/PacketTracking/netview/src/main/resources/log4j.properties b/Monitoring/MonitoringTool/PacketTracking/netview/src/main/resources/log4j.properties
new file mode 100644
index 0000000..1bc340c
--- /dev/null
+++ b/Monitoring/MonitoringTool/PacketTracking/netview/src/main/resources/log4j.properties
@@ -0,0 +1,49 @@
+# log4j settings
+#
+# The root logger is assigned priority level DEBUG and an appender
+# named rootAppender
+log4j.rootLogger=debug, rootAppender
+
+# Appenders: {FileAppender, ConsoleAppender, .. }
+log4j.appender.rootAppender=org.apache.log4j.ConsoleAppender
+
+# Layouts: {SimpleLayout, PatternLayout, ..}
+log4j.appender.rootAppender.layout=org.apache.log4j.PatternLayout
+
+# log4j.appender.rootAppender.layout.ConversionPattern=%d{MM-dd@HH:mm:ss} %-5p (%13F:%L) %3x - %m%n
+# Ex: 03-04@16:48:36 DEBUG ( App.java:27) - Test1
+
+#log4j.appender.rootAppender.layout.ConversionPattern=%d{HH:mm:ss,SSS} %C %p [%t] %m (%F:%L) %n
+
+# Ex: 16:49:30,231 DEBUG [main] Test1 (App.java:27)
+log4j.appender.rootAppender.layout.ConversionPattern=%d{HH:mm:ss,SSS} %5p [%t] %m (%F:%L) %n
+
+
+
+#log4j.logger.org.mortbay = INFO
+#log4j.logger.org.apache.cxf = OFF
+#log4j.logger.org.springframework = OFF
+
+
+
+# Example of splitting up log files
+# FROM http://www.theserverside.com/discussions/thread.tss?thread_id=31659
+#
+# You can split your loggers into different files.
+# With the following example, all logging done to loggers
+# in package "com.myco.a" and any subpackage thereof
+# will be logged to module-a.log (likewise for module b).
+# Now, as long as you separate your modules into packages like this, you're ok.
+
+#log4j.logger.com.myco.a=DEBUG, A
+#log4j.logger.com.myco.b=DEBUG, B
+
+#log4j.appender.A=org.apache.log4j.FileAppender
+#log4j.appender.A.File=a.log
+#log4j.appender.A.layout=org.apache.log4j.PatternLayout
+#log4j.appender.A.layout.ConversionPattern=%d{MM-dd@HH:mm:ss} %-5p (%13F:%L) %3x - %m%n
+
+#log4j.appender.B=org.apache.log4j.FileAppender
+#log4j.appender.B.File=b.log
+#log4j.appender.B.layout=org.apache.log4j.PatternLayout
+#log4j.appender.B.layout.ConversionPattern=%d{MM-dd@HH:mm:ss} %-5p (%13F:%L) %3x - %m%n