Project

General

Profile

« Previous | Next » 

Revision 4860

Added by daigle over 15 years ago

Add date to log output

View differences:

lib/log4j.properties
42 42
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
43 43

  
44 44
# define the pattern to be used in the logs... 
45
log4j.appender.stdout.layout.ConversionPattern=@build.context@ %d{HH:mm:ss,SSS}: [%p]: %m [%c]%n
45
log4j.appender.stdout.layout.ConversionPattern=@build.context@ %d{yyyyMMdd-HH:mm:ss}: [%p]: %m [%c]%n
46 46

  
47 47
# %p -> priority level of the event - (e.g. WARN)
48 48
# %m -> message to be printed

Also available in: Unified diff