Re: Modem-manager logging levels
- From: Aleksander Morgado <aleksander lanedo com>
- To: binro <robin binro org>
- Cc: NetworkManager-list gnome org
- Subject: Re: Modem-manager logging levels
- Date: Wed, 11 Jul 2012 06:38:27 +0200
Hey,
>
> How do I get NM to start modem-manager with "--log-level=WARN"?
>
> TIA
>
You'll need to avoid having NM do the dbus-activated start. You can
avoid this by moving the modem-manager binary from
/usr/sbin/modem-manager to another location, like /modem-manager. Once
you do that, you'll need to launch the program yourself, and you can
then pass whatever log level you want with --log-level.
If you just want to change the log level, another option if you have a
recent enough MM is to use the SetLogging method in the ModemManager
DBus interface, like:
$> sudo dbus-send --system \
--dest=org.freedesktop.ModemManager \
--print-reply \
/org/freedesktop/ModemManager \
org.freedesktop.ModemManager.SetLogging \
string:Warn
Cheers,
--
Aleksander
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]