Permalink
Browse files

tidy for first release

  • Loading branch information...
1 parent b252a29 commit 393b5ed510129dd87beaed0e0024bad5988daca3 mike committed Sep 16, 2012
Showing with 5 additions and 4 deletions.
  1. +1 −0 .gitignore
  2. +1 −1 sample_app.psgi → sample/app.psgi
  3. +3 −3 sample_log4perl.conf → sample/log4perl.conf
View
@@ -19,3 +19,4 @@ pm_to_blib
.includepath
.project
*.log
+*.tar.gz
@@ -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;
};
@@ -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

0 comments on commit 393b5ed

Please sign in to comment.