NetworkManager/src/config
Thomas Haller 98bc1c8cf9 config: replace g_warning() by nm_log_warn()
Quite possibly these logging lines hit before we setup nm-logging
initially and before NM main() calls nm_logging_syslog_openlog().
This is because NM first needs to read the configuration, before setting
up logging.

Note however, that nm-logging is robust against both.

If nm_logging_setup() was not yet called, it will automatically setup
"DEFAULT","INFO".

If nm_logging_syslog_openlog() was not yet called, it will redirect
logging to g_log() -- which basically ends up at g_warning() again.

Still this is useful in case when hitting those lines *afterwards*.
Especially, later when we support reloading of configuration.

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-07-11 13:13:15 +02:00
..
tests all: g_type_init() has been deprecated in GLib 2.35.0 2014-05-27 16:58:21 +02:00
nm-config-device.c Make no-auto-default=* work again 2013-06-14 13:40:27 -03:00
nm-config-device.h config: add NMConfigDevice 2013-04-03 10:23:48 -04:00
nm-config.c config: replace g_warning() by nm_log_warn() 2014-07-11 13:13:15 +02:00
nm-config.h core: add configuration main.debug and interpret environment variable NM_DEBUG 2014-05-02 11:08:14 +02:00