Commit d5139f85 authored by Thibault Ehrhart's avatar Thibault Ehrhart

Set default file name for logging

parent 8331cd7c
......@@ -45,4 +45,5 @@ buildNumber.properties
### Asrael
###
data
!data/resource/iptc
\ No newline at end of file
!data/resource/iptc
*.log
log4j.rootLogger = INFO, stdlog, FILE
log4j.rootLogger=INFO,stdlog,FILE
log4j.appender.FILE=org.apache.log4j.FileAppender
log4j.appender.FILE.File=${logfile.name}
log4j.appender.FILE.File=AdelAnnotator.log
log4j.appender.FILE.ImmediateFlush=true
log4j.appender.FILE.Threshold=debug
log4j.appender.FILE.Append=${logfile.append}
log4j.appender.FILE.Append=true
log4j.appender.FILE.layout=org.apache.log4j.PatternLayout
log4j.appender.FILE.layout.ConversionPattern=%d{yyyy/MM/dd-HH:mm:ss} %-5p %-25c{1} :: %m%n
......
log4j.rootLogger = INFO, stdlog, FILE
log4j.appender.FILE=org.apache.log4j.FileAppender
log4j.appender.FILE.File=${logfile.name}
log4j.appender.FILE.ImmediateFlush=true
log4j.appender.FILE.Threshold=debug
log4j.appender.FILE.Append=${logfile.append}
log4j.appender.FILE.layout=org.apache.log4j.PatternLayout
log4j.appender.FILE.layout.ConversionPattern=%d{yyyy/MM/dd-HH:mm:ss} %-5p %-25c{1} :: %m%n
log4j.appender.stdlog=org.apache.log4j.ConsoleAppender
log4j.appender.stdlog.target=System.out
log4j.appender.stdlog.layout=org.apache.log4j.PatternLayout
log4j.appender.stdlog.layout.ConversionPattern=%d{yyyy/MM/dd-HH:mm:ss} %-5p %-25c{1} :: %m%n
log4j.logger.org.apache.jena.arq.info=INFO
log4j.logger.org.apache.jena.arq.exec=INFO
log4j.logger.org.apache.jena.tdb.loader=INFO
log4j.logger.org.apache.jena=INFO
log4j.logger.org.apache.jena.riot=INFO
log4j.logger.TDB=INFO
log4j.logger.org.apache.jena.tdb=INFO
log4j.logger.org.apache.jena.tdb.transaction=INFO
log4j.logger.org.apache.jena.tdb.transaction.NodeTableTrans=ALL
log4j.logger.org.joseki=INFO
2019/12/05-15:02:25 ERROR AgenceFrancePresse :: java.nio.file.NoSuchFileException: ../../data/resource/agencefrancepresse
log4j.rootLogger = INFO, stdlog, FILE
log4j.rootLogger=INFO,stdlog,FILE
log4j.appender.FILE=org.apache.log4j.FileAppender
log4j.appender.FILE.File=${logfile.name}
log4j.appender.FILE.File=NewsCollector.log
log4j.appender.FILE.ImmediateFlush=true
log4j.appender.FILE.Threshold=debug
log4j.appender.FILE.Append=${logfile.append}
log4j.appender.FILE.Append=true
log4j.appender.FILE.layout=org.apache.log4j.PatternLayout
log4j.appender.FILE.layout.ConversionPattern=%d{yyyy/MM/dd-HH:mm:ss} %-5p %-25c{1} :: %m%n
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment