You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2005/05/07 00:59:28 UTC
svn commit: r168978 - /spamassassin/trunk/lib/Mail/SpamAssassin/Logger.pm
Author: jm
Date: Fri May 6 15:59:27 2005
New Revision: 168978
URL: http://svn.apache.org/viewcvs?rev=168978&view=rev
Log:
set default log level to include info() calls, otherwise using info() is no different from calling dbg()
Modified:
spamassassin/trunk/lib/Mail/SpamAssassin/Logger.pm
Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Logger.pm
URL: http://svn.apache.org/viewcvs/spamassassin/trunk/lib/Mail/SpamAssassin/Logger.pm?rev=168978&r1=168977&r2=168978&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Logger.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Logger.pm Fri May 6 15:59:27 2005
@@ -62,7 +62,7 @@
our %LOG_SA;
# defaults
-$LOG_SA{level} = WARNING; # log warnings and errors
+$LOG_SA{level} = INFO; # log info, warnings and errors
$LOG_SA{facility} = {}; # no dbg facilities turned on
# always log to stderr initially
Re: svn commit: r168978 - /spamassassin/trunk/lib/Mail/SpamAssassin/Logger.pm
Posted by Daniel Quinlan <qu...@pathname.com>.
jm@apache.org writes:
> set default log level to include info() calls, otherwise using info()
> is no different from calling dbg()
You know that'll output messages from "spamassassin" too? I'd rather
have spamd change the log level via an API. Oh, and wait, it does
already! ;-)
So, um, is there a reason for this change?
Daniel
--
Daniel Quinlan
http://www.pathname.com/~quinlan/