From: Matt S Trout Date: Tue, 17 Jul 2007 16:59:00 +0000 (+0000) Subject: making debug call during setup conditional. X-Git-Tag: v0.10009_01~69 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=cccb9b5ef4c379faf00013f5cd685dcd926910d0;p=catagits%2FCatalyst-Plugin-Authentication.git making debug call during setup conditional. r36209@cain (orig r6090): jayk | 2007-02-19 19:11:03 +0000 --- diff --git a/lib/Catalyst/Plugin/Authentication.pm b/lib/Catalyst/Plugin/Authentication.pm index 00753d3..7e2f917 100644 --- a/lib/Catalyst/Plugin/Authentication.pm +++ b/lib/Catalyst/Plugin/Authentication.pm @@ -222,7 +222,7 @@ sub _authentication_initialize { sub setup_auth_realm { my ($app, $realmname, $config) = @_; - $app->log->debug("Setting up $realmname"); + $app->log->debug("Setting up auth realm $realmname") if $app->debug; if (!exists($config->{'store'}{'class'})) { Carp::croak "Couldn't setup the authentication realm named '$realmname', no class defined"; }