LOG-LEVEL not working properly

Aleksander Morgado aleksander at aleksander.es
Tue Nov 24 13:20:52 PST 2015


On Tue, Nov 3, 2015 at 8:48 AM, José <Joseddg92 at gmail.com> wrote:
> Sorry, when using
>
> ModemManager --log-level=ERR > /dev/null 2>&1
>
> obviously, there is absolutely no output (duh, the program can only print to
> stdout or stderr...) but then you have no error output either. Using
> ModemManager --log-level=ERR
> works fine except for mbim and qmi outputs (which are always printed,
> regardless the log level).

If no logging file explicitly specified, the libqmi and libmbim log
messages will go through the syslog() call. For some reason that
syslog() call is also writing to stdout?

-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list