Commit 2f2e0986 authored by Stefan Tauner's avatar Stefan Tauner
Browse files

fiji_scripts: enhance logging

parent d48a6180
layout_class = Log::Log4perl::Layout::PatternLayout
# layout_class = Log::Log4perl::Layout::SimpleLayout
layout_pattern = %d{yyyy-MM-dd HH:mm:ss.SSS} %p - %m (%F:%L> %M)%n
log4perl.rootLogger = TRACE, logfile, screen
log4perl.appender.screen = Log::Log4perl::Appender::Screen
log4perl.appender.screen.stderr = 0
log4perl.appender.screen.Threshold = INFO
log4perl.appender.screen.layout = Log::Log4perl::Layout::SimpleLayout
log4perl.appender.screen.layout = ${layout_class}
log4perl.appender.screen.layout.ConversionPattern = ${layout_pattern}
log4perl.appender.logfile = Log::Log4perl::Appender::File
log4perl.appender.logfile.Threshold = TRACE
log4perl.appender.logfile.filename = fiji_download.log
log4perl.appender.logfile.filename = sub { $0 =~ s/.pl/.log/r; }
log4perl.appender.logfile.mode = append
log4perl.appender.logfile.layout = Log::Log4perl::Layout::SimpleLayout
log4perl.appender.logfile.layout = ${layout_class}
log4perl.appender.logfile.layout.ConversionPattern = ${layout_pattern}
Supports Markdown
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