Project

General

Profile

« Previous | Next » 

Revision 4412

Added by daigle about 16 years ago

Add date to log output. Shorten Metacat to MC

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=Metacat: [%p]: %m [%c]%n
45
log4j.appender.stdout.layout.ConversionPattern=MC %d{HH:mm:ss,SSS}: [%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