[Jifty-commit] r6321 - in jifty/trunk: lib/Jifty/Plugin

Jifty commits jifty-commit at lists.jifty.org
Mon Feb 9 13:18:33 EST 2009


Author: alexmv
Date: Mon Feb  9 13:18:32 2009
New Revision: 6321

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/Makefile.PL
   jifty/trunk/lib/Jifty/Plugin/TestServerWarnings.pm

Log:
 r41947 at kohr-ah:  chmrr | 2009-02-09 13:17:54 -0500
 Force the loglevel to WARN on the default appender on the server


Modified: jifty/trunk/Makefile.PL
==============================================================================
--- jifty/trunk/Makefile.PL	(original)
+++ jifty/trunk/Makefile.PL	Mon Feb  9 13:18:32 2009
@@ -56,7 +56,7 @@
 requires('List::MoreUtils');
 requires('Locale::Maketext::Extract' => '0.20');
 requires('Locale::Maketext::Lexicon' => '0.60');
-requires('Log::Log4perl' => '1.11'); # Log::Log4perl::Appender
+requires('Log::Log4perl' => '1.11'); # Log::Log4perl::Appender Log::Log4perl::Level
 requires('LWP::UserAgent'); # Net::HTTP LWP::Simple
 requires('MIME::Types');
 requires('Module::Pluggable' => '3.5'); # Module::Pluggable::Object

Modified: jifty/trunk/lib/Jifty/Plugin/TestServerWarnings.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Plugin/TestServerWarnings.pm	(original)
+++ jifty/trunk/lib/Jifty/Plugin/TestServerWarnings.pm	Mon Feb  9 13:18:32 2009
@@ -6,6 +6,7 @@
 
 use LWP::Simple qw//;
 use Jifty::Plugin::TestServerWarnings::Appender;
+use Log::Log4perl::Level;
 
 __PACKAGE__->mk_accessors(qw(clear_screen));
 
@@ -70,6 +71,7 @@
 
     my $a = Jifty::Plugin::TestServerWarnings::Appender->new(name => "TestServerAppender");
     Log::Log4perl->get_logger("")->add_appender($a);
+    Log::Log4perl->get_logger("")->level($WARN);
 }
 
 =head3 add_warnings WARN, WARN, ..


More information about the Jifty-commit mailing list