- or download this
package Log::Log4perl::Config::Standalone;
...
1;
__END__
- or download this
# filename: l4p.conf
global_var = /var/log/some/file.log
...
log4perl.appender.LOGFILE.mode = append
log4perl.appender.LOGFILE.layout = PatternLayout
log4perl.appender.LOGFILE.layout.ConversionPattern = %d{ISO8601} [%P]
+%C %p %m%n
- or download this
use Log::Log4perl::Config::Standalone;
my $c = Log::Log4perl::Config::Standalone->new('./l4p.conf');
print $c->value('log4perl.appender.LOGFILE.filename'), "\n";