-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Set up logging to file for testing (log/oersi-etl.log) - Downgrade metafacture-core dependencies to 5.3.0-rc2 (which works around logging-related issues with a third-party lib, see metafacture/metafacture-core#360) - Update slf4j and log4j dependencies to current releases
- Loading branch information
Showing
2 changed files
with
20 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
# Set root logger to INFO or DEBUG to see detailed output from Metafacture etc. | ||
log4j.rootLogger=WARN, stdout | ||
log4j.rootLogger=WARN, stdout, file | ||
log4j.appender.stdout=org.apache.log4j.ConsoleAppender | ||
log4j.appender.file=org.apache.log4j.RollingFileAppender | ||
log4j.appender.file.File=log/oersi-etl.log | ||
|
||
# Set oersi logger to DEBUG or TRACE to see detailed output from the ETL processes | ||
log4j.logger.oersi=INFO | ||
|
||
# The format of log messages: | ||
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout | ||
log4j.appender.stdout.layout.conversionPattern=%d{yyyy-MM-dd HH:mm:ss} [%p] [%c{1}:%L] %m%n | ||
log4j.appender.stdout.layout.conversionPattern=%d{yyyy-MM-dd HH:mm:ss} [%p] [%c{1}:%L] %m%n | ||
log4j.appender.file.layout=org.apache.log4j.PatternLayout | ||
log4j.appender.file.layout.conversionPattern=%d{yyyy-MM-dd HH:mm:ss} [%p] [%c{1}:%L] %m%n |