BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000280 [BusyBox] Networking Support feature always 06-02-05 15:11 11-27-06 12:12
Reporter jean2 View Status public  
Assigned To BusyBox
Priority normal Resolution won't fix  
Status closed   Product Version 1.00
Summary 0000280: [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

Additional Information
Attached Files  busybox-udhcp-log-2.patch [^] (2,248 bytes) 06-02-05 15:11

- Relationships

- Notes
(0001658)
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.
 
(0001815)
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
11-27-06 12:12 vda Resolution open => won't fix


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker