• Thomas Haller's avatar
    logging: warn about invalid logging backends and drop "debug" backend · dbd48f26
    Thomas Haller authored
    "debug" was documentation in `man NetworkManager.conf` as a valid
    logging backend. However, it was completely ignored by
    nm_logging_syslog_openlog().
    In fact, it makes not sense. Passing debug = TRUE to
    nm_logging_syslog_openlog(), means that all messages will be
    printed to stderr in addition to syslog/journal. However, when
    NetworkManager is daemonizing, stderr is closed.
    Whether NetworkManager is daemonizing depends entirely on command
    line options --no-daemon and --debug. Hence, the logging backend "debug"
    from the configuration file either conflicts or is redundant.
    
    Also, adjust logging backend description in `man NetworkManager.conf`.
    
    Also, log a warning about invalid/unsupported logging backend.
    
    (cherry picked from commit 2ccf6168)
    dbd48f26
Name
Last commit
Last update
..
NetworkManager.conf.xml Loading commit data...
NetworkManager.xml Loading commit data...
common.ent.in Loading commit data...
meson.build Loading commit data...
nm-online.xml Loading commit data...
nm-openvswitch.xml Loading commit data...
nm-settings-ifcfg-rh.xsl Loading commit data...
nm-settings-keyfile.xsl Loading commit data...
nm-settings.xsl Loading commit data...
nmcli-examples.xml Loading commit data...
nmcli.xml Loading commit data...
nmtui.1.in Loading commit data...
nmtui.xml Loading commit data...