Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

tidy for first release

  • Loading branch information...
commit 393b5ed510129dd87beaed0e0024bad5988daca3 1 parent b252a29
mike authored
View
1  .gitignore
@@ -19,3 +19,4 @@ pm_to_blib
.includepath
.project
*.log
+*.tar.gz
View
2  sample_app.psgi → sample/app.psgi
@@ -24,6 +24,6 @@ my $app = sub {
$app = builder {
enable 'Debug', panels =>[qw/Response Memory Timer Log4perl/];
- enable 'Log4perl', category => 'plack', conf => 'sample_log4perl.conf';
+ enable 'Log4perl', category => 'plack', conf => 'sample/log4perl.conf';
$app;
};
View
6 sample_log4perl.conf → sample/log4perl.conf
@@ -6,13 +6,13 @@
log4perl.rootLogger=TRACE, DebugLog
log4perl.appender.DebugLog=Log::Log4perl::Appender::File
-log4perl.appender.DebugLog.filename=_debug.log
+log4perl.appender.DebugLog.filename=sample/log4perl_debug.log
log4perl.appender.DebugLog.mode=append
log4perl.appender.DebugLog.layout=PatternLayout
-log4perl.appender.DebugLog.layout.ConversionPattern=[%r] %F %L %c - %m%n
+log4perl.appender.DebugLog.layout.ConversionPattern=%d [%P %r] %p %m [%c] at %F line %L%n
log4perl.logger.plack = TRACE, PlackLog
log4perl.appender.PlackLog = Log::Log4perl::Appender::File
-log4perl.appender.PlackLog.filename = _plack.log
+log4perl.appender.PlackLog.filename = log4perl_plack.log
log4perl.appender.PlackLog.layout = Log::Log4perl::Layout::SimpleLayout
Please sign in to comment.
Something went wrong with that request. Please try again.