[BusyBox 0000280]: [PATCH] Kill annoying log messages in udhcp-client

bugs at busybox.net bugs at busybox.net
Mon Nov 27 12:12:48 PST 2006


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=280 
====================================================================== 
Reported By:                jean2
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   280
Category:                   Networking Support
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             06-02-2005 15:11 PDT
Last Modified:              11-27-2006 12:12 PST
====================================================================== 
Summary:                    [PATCH] Kill annoying log messages in udhcp-client
Description: 
On my system, there is a USB-NET interface that is configured at boot time
with DHCP. Most of the time, this is not connected to any PC, so DHCP is
just waiting for the underlying USB connection to happen.

This works fine, however it fills the logs :

------------------------------------------------
Jan  1 13:00:03 gumstix kern.debug udhcpc[200]: Sending discover...
Jan  1 13:00:05 gumstix kern.debug udhcpc[200]: Sending discover...
Jan  1 13:00:07 gumstix kern.debug udhcpc[200]: Sending discover...
------------------------------------------------

I'm glad that I could configure udhcp messages on syslog, because on the
console it would become anoying fast. However, on my embedded system, the
filesystem is limited, and I don't like the idea of the syslog files
filled up with useless info and bringing my system down...

The patch attached allow to disable those messages with a simple config
option. As a side effect, it also reduced the footprint of udhcp...

Jean


====================================================================== 

---------------------------------------------------------------------- 
 vda - 09-29-06 16:54  
---------------------------------------------------------------------- 
Patch no longer apply due to changes in the code. Need better idea.

BTW, you have to have rotating logs on any system, not just embedded one,
because unfinitely large disks do not exist. 

---------------------------------------------------------------------- 
 vda - 11-27-06 12:12  
---------------------------------------------------------------------- 
Featuritis. syslog filtering should be done on syslogd side of things. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-02-05 15:11  jean2          New Issue                                    
06-02-05 15:11  jean2          File Added: busybox-udhcp-log-2.patch            
       
09-29-06 16:54  vda            Note Added: 0001658                          
11-27-06 12:12  vda            Status                   assigned => closed  
11-27-06 12:12  vda            Note Added: 0001815                          
======================================================================



More information about the busybox-cvs mailing list