The 'debug' useflag on net-wireless/wpa-supplicant enables CONFIG_DEBUG_FILE=y however this only enables "support for writing debug log to a file" and not the code to provide '-dd' (-ddd with >=wpa-supplicant.1.0) and '-qq'. The debug file is not used unless the '-f' switch is provided and only adds an additional 4k to the wpa_supplicant binary. with USE="-debug" on net-wireless/wpa_supplicant-1.0-r1 # ls -l /usr/sbin/wpa_supplicant -rwxr-xr-x 1 root root 413052 Oct 23 21:03 /usr/sbin/wpa_supplicant # ls -l /usr/bin/wpa_cli -rwxr-xr-x 1 root root 56196 Oct 23 21:03 /usr/bin/wpa_cli with USE="debug" on net-wireless/wpa_supplicant-1.0-r1 # ls -l /usr/sbin/wpa_supplicant -rwxr-xr-x 1 root root 417148 Oct 25 01:45 /usr/sbin/wpa_supplicant # ls -l /usr/bin/wpa_cli -rwxr-xr-x 1 root root 56196 Oct 25 01:45 /usr/bin/wpa_cli Currently, to create logfiles that can be pastebin'd or included in codeblocks (for posting in the forum or #gentoo) the user must be told to enable the 'debug' useflag so that the output of '-d', '-dd' or '-ddd' can be logged to a file, and as the switch doesn't enable 'debugging' itself it would seem sensible to have CONFIG_DEBUG_FILE=y enabled by default for this purpose and the 'debug' useflag dropped. This being the case the user wouldn't need to re-emerge, but simply enable logging via /etc/conf.d/net eg: wpa_supplicant_wlan0="-Dnl80211 -f /var/log/wpa_supplicant.log -dd" best ... khay
Fixed, from now on, the debug use flag has been removed, and the option is always enabled.
(In reply to comment #1) > Fixed, from now on, the debug use flag has been removed, and the option is > always enabled. bjarke ... thank you for the speedy action on this. best regards ... khay