Project

General

Profile

Revision bb431d84

IDbb431d84cbeed467923c2c12bdc7782e1ebfd865
Parent dc6c8364

Added by Andreas Kohlbecker almost 2 years ago

ref #7085 changing logging initialization for more consistent logging configuration for bootloader and instances - experimental!

View differences:

src/main/resources/log4j.properties
16 16
log4j.appender.FILE=org.apache.log4j.DailyRollingFileAppender
17 17

  
18 18
# Set the name of the file
19
log4j.appender.FILE.File= /var/log/cdmserver/cdmserver_log.out
19
log4j.appender.FILE.File= ${LOGGING_FOLDER}/cdmserver.log
20 20

  
21 21
# Set the immediate flush to true (default)
22 22
log4j.appender.FILE.ImmediateFlush=true
......
28 28
log4j.appender.FILE.Append=true
29 29

  
30 30
# Set the DatePattern
31
log4j.appender.FILE.DatePattern='.'yyyy-MM-dd
31
# log4j.appender.FILE.DatePattern='.'yyyy-MM-dd
32
log4j.appender.FILE.DatePattern='.'yyyy-MM-dd-HH-mm
32 33

  
33 34
#
34 35
# NOTE 

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)