2019-10-03 21:40:08 +02:00
|
|
|
|
name=PropertiesConfig
|
|
|
|
|
property.filename = logs
|
|
|
|
|
appenders = console, file
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Cr<43>ation des appenders (interfaces) pour les sorties fichier et console
|
|
|
|
|
appender.console.type = Console
|
|
|
|
|
appender.console.name = STDOUT
|
|
|
|
|
appender.console.layout.type = PatternLayout
|
|
|
|
|
appender.console.layout.pattern = [%-5level] %d{yyyy-MM-dd HH:mm:ss.SSS} [%t] %c{1} - %msg%n
|
|
|
|
|
|
|
|
|
|
appender.file.type = File
|
|
|
|
|
appender.file.name = LOGFILE
|
2019-10-10 17:27:24 +02:00
|
|
|
|
appender.file.fileName=${filename}/ngcclogs.log
|
2019-10-03 21:40:08 +02:00
|
|
|
|
appender.file.layout.type=PatternLayout
|
|
|
|
|
appender.file.layout.pattern=[%-5level] %d{yyyy-MM-dd HH:mm:ss.SSS} [%t] %c{1} - %msg%n
|
|
|
|
|
|
|
|
|
|
|
2019-10-10 09:30:35 +02:00
|
|
|
|
#Cr<43>ation des loggers (par package)
|
2019-10-03 21:40:08 +02:00
|
|
|
|
|
2019-10-09 15:06:48 +02:00
|
|
|
|
loggers = console, commands, csv
|
|
|
|
|
|
|
|
|
|
logger.csv.name = csv
|
|
|
|
|
logger.csv.level = fatal
|
|
|
|
|
logger.csv.additivity = false
|
|
|
|
|
logger.csv.appenderRefs = console
|
|
|
|
|
logger.csv.appenderRef.console.ref = STDOUT
|
|
|
|
|
logger.csv.appenderRef.file.ref = LOGFILE
|
|
|
|
|
|
|
|
|
|
logger.commands.name = commands
|
|
|
|
|
logger.commands.level = fatal
|
|
|
|
|
logger.commands.additivity = false
|
|
|
|
|
logger.commands.appenderRefs = console
|
|
|
|
|
logger.commands.appenderRef.console.ref = STDOUT
|
|
|
|
|
logger.commands.appenderRef.file.ref = LOGFILE
|
2019-10-03 21:40:08 +02:00
|
|
|
|
|
|
|
|
|
logger.console.name = log4j
|
2019-10-03 22:10:06 +02:00
|
|
|
|
logger.console.level = warn
|
2019-10-03 21:40:08 +02:00
|
|
|
|
logger.console.additivity = false
|
|
|
|
|
logger.console.appenderRefs = console
|
|
|
|
|
logger.console.appenderRef.console.ref = STDOUT
|
|
|
|
|
logger.console.appenderRef.file.ref = LOGFILE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Root Logger (par d<>faut)
|
|
|
|
|
rootLogger.level = debug
|
|
|
|
|
rootLogger.appenderRefs = stdout, file
|
|
|
|
|
rootLogger.appenderRef.stdout.ref = STDOUT
|
|
|
|
|
rootLogger.appenderRef.file.ref = LOGFILE
|