c5ea044f79
Ability to set log level, lots of debugging messages Turn on debug logging during tests, simplified test cases for HTML ripper Fix fusktator ripper, added test Fixed gifyo, added test Added tests for *all* rippers Adding a few album-guessing URLs
18 lines
796 B
Properties
18 lines
796 B
Properties
# define the file appender
|
|
log4j.appender.FILE = org.apache.log4j.RollingFileAppender
|
|
log4j.appender.FILE.File = ripme.log
|
|
log4j.appender.FILE.ImmediateFlush = true
|
|
log4j.appender.FILE.Threshold = warn
|
|
log4j.appender.FILE.maxFileSize = 20MB
|
|
log4j.appender.FILE.layout = org.apache.log4j.PatternLayout
|
|
log4j.appender.FILE.layout.ConversionPattern = %d %-5p %c{2} %x.%M() %m%n
|
|
|
|
# define the console appender
|
|
log4j.appender.stdout = org.apache.log4j.ConsoleAppender
|
|
log4j.appender.stdout.Target = System.out
|
|
log4j.appender.stdout.Threshold = warn
|
|
log4j.appender.stdout.layout = org.apache.log4j.PatternLayout
|
|
log4j.appender.stdout.layout.ConversionPattern = %m%n
|
|
|
|
# now map our console appender as a root logger, means all log messages will go to this appender
|
|
log4j.rootLogger = debug, stdout, FILE |