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

bugs at busybox.net bugs at busybox.net
Thu Jun 2 22:11:21 UTC 2005


The following issue has been SUBMITTED.
======================================================================
<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:              06-02-2005 15:11 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


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

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




More information about the busybox-cvs mailing list