summaryrefslogtreecommitdiffstats
path: root/Monitoring/MonitoringTool/PacketTracking/netview/src/main/resources/log4j.properties
blob: 1bc340c57930c97008abf9c20998fd0cf4f70f9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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