Permalink
Browse files

control log level

  • Loading branch information...
1 parent 448d676 commit f5cb9621cbe1736b7a558b9e1907644d6593e4a8 @lestrrat lestrrat committed Apr 14, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/lib/Pixis/Web.pm
View
@@ -11,7 +11,6 @@ use Pixis::Registry;
use Catalyst::Runtime '5.70';
use parent qw(Catalyst);
use Catalyst qw(
- -Debug
Authentication
Authorization::Roles
ConfigLoader
@@ -112,6 +111,7 @@ sub setup {
# for various reasons, we /NEED/ to have Catalyst setup itself before
# we setup our plugins.
+ push @_, $ENV{CATALYST_DEBUG} ? "-log=error,debug" : "-log=error";
$self->SUPER::setup(@_);
}

0 comments on commit f5cb962

Please sign in to comment.