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

bugs at busybox.net bugs at busybox.net
Fri Sep 29 23:54:33 UTC 2006


A NOTE has been added to this issue. 
====================================================================== 
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:                     assigned
====================================================================== 
Date Submitted:             06-02-2005 15:11 PDT
Last Modified:              09-29-2006 16:54 PDT
====================================================================== 
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. 

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                          
======================================================================




More information about the busybox-cvs mailing list