projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
change default log level to info
[catagits/Catalyst-Runtime.git]
/
lib
/
Catalyst
/
Log.pm
diff --git
a/lib/Catalyst/Log.pm
b/lib/Catalyst/Log.pm
index
e70197f
..
72ae936
100755
(executable)
--- a/
lib/Catalyst/Log.pm
+++ b/
lib/Catalyst/Log.pm
@@
-66,8
+66,7
@@
around new => sub {
my $class = shift;
my $self = $class->$orig;
- $self->levels( scalar(@_) ? @_ : keys %LEVELS );
-
+ $self->levels( scalar(@_) ? @_ : (qw/info warn error fatal/) );
return $self;
};