Don't output wpa_supplicant messages to syslog

Bug #36777 reported by j^
12
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Confirmed
Wishlist
Unassigned

Bug Description

right now NM logs information printed out by wpa_supplicant to syslog, that is mostly information like the network quality,
finding new networks etc, all this is not needed in syslog in normal operation and a waist of diskspace and battery since
it causes disk usage...

Revision history for this message
j^ (j) wrote : silence those messages

attched patch only prints those messages if WPA_SUPPLICANT_DEBUG is defined.

Revision history for this message
j^ (j) wrote : Re: [PATCH] silence wpa_supplicant messages in syslog

upon further investigation it might be better to just
pass -d instead of -dd or even no debug option at all to
wpa_supplicant.
its also in network-manager-0.6.1/src/nm-device-802-11-wireless.c
 argv[1] = "-dd";
could be
 argv[1] = "-d";
or removed all together.

Revision history for this message
Mario Đanić (mario-danic) wrote :

Fixed in n-m 0.6.2

Changed in network-manager:
status: Unconfirmed → Confirmed
status: Confirmed → In Progress
Revision history for this message
j^ (j) wrote : patch

looked at the patched source tree,
its still at -dd in 0.6.2. here is a patch

Changed in network-manager:
status: In Progress → Confirmed
Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote : Re: [PATCH] silence wpa_supplicant messages in syslog

At the moment, given network-manager's somewhat flaky and unreliable operation, I think we'll keep the debugging levels as they are.

If it ever works properly across the board, we can apply this patch.

Revision history for this message
flyman (fleitman68) wrote :

network-manager debuging is also filling up the bootlog. it also is printing debug messages to VT1 for some reason?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Patches

Remote bug watches

Bug watches keep track of this bug in other bug trackers.