Project

General

Profile

« Previous | Next » 

Revision 7847

Added by Jing Tao over 11 years ago

Change the date format.
Remove the replication part of log4j.

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=knb %d{yyyyMMdd-HH:mm:ss}: [%p]: %m [%c]%n
45
log4j.appender.stdout.layout.ConversionPattern=metacat-index %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
......
63 63
#log4j.logger.edu.ucsb.nceas.metacat.dataone.CNodeService=TRACE
64 64
#log4j.logger.edu.ucsb.nceas.metacat.common.query=INFO
65 65

  
66
### LOGGING TO REPLICATION FILE #########################################################
67
log4j.logger.ReplicationLogging=INFO, replication
68
log4j.appender.replication=org.apache.log4j.DailyRollingFileAppender
69
log4j.appender.replication.File=${replication.logfile.name}
70
log4j.appender.replication.DatePattern='.'yyyy-ww
71
log4j.appender.replication.maxFileSize=100000KB
72
log4j.appender.replication.maxBackupIndex=10
73
log4j.appender.replication.threshold=info
74
log4j.appender.replication.layout=org.apache.log4j.PatternLayout
75
log4j.appender.replication.layout.ConversionPattern=knb %d{yyyyMMdd-HH:mm:ss}: [%p]: %m [%c]%n

Also available in: Unified diff