[BusyBox 0000895]: Crond logs uninmportant messages.

bugs at busybox.net bugs at busybox.net
Thu Jun 29 17:07:39 UTC 2006


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=895 
====================================================================== 
Reported By:                mootinator
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   895
Category:                   Documentation
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             06-03-2006 22:28 PDT
Last Modified:              06-29-2006 10:07 PDT
====================================================================== 
Summary:                    Crond logs uninmportant messages.
Description: 
In crond.c messages are logged:
if (level >= LogLevel)

LogLevel being the level configured by the user.  Since lower log levels
are more important, this comparison is backwards.  Because messages
currently get logged even with no  LogLevel specified (default is said to
be 8) I suspect there is a problem with the default level being set
incorrectly too.
====================================================================== 

---------------------------------------------------------------------- 
 landley - 06-29-06 10:07  
---------------------------------------------------------------------- 
What made you think a lower log level was less important?  I just grepped
through for the crondlog() calls and debug calls are 005, "ignoring" is
007, "process already running" is 011, inability to execute one of the
commands is 024, significant clock skew detected is 111, inability to
chdir to the crond database directory is 311...

Seems like a pretty straightforward progression to me... 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-03-06 22:28  mootinator     New Issue                                    
06-03-06 22:28  mootinator     Status                   new => assigned     
06-03-06 22:28  mootinator     Assigned To               => BusyBox         
06-29-06 10:07  landley        Status                   assigned => closed  
06-29-06 10:07  landley        Note Added: 0001474                          
======================================================================




More information about the busybox-cvs mailing list