Project

General

Profile

« Previous | Next » 

Revision 4798

Added by daigle almost 16 years ago

Prepend the web application name to the log message.

View differences:

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