NetworkManager/clients/common
Thomas Haller 341b6e0704
all: change G_LOG_DOMAIN to "nm"
glib requires G_LOG_DOMAIN defined so that log messages are labeled
to belong to NetworkManager or libnm.

However, we don't actually want to use glib logging. Our library libnm
MUST not log anything, because it spams the user's stdout/stderr.
Instead, a library must report notable events via its API. Note that
there is also LIBNM_CLIENT_DEBUG to explicitly enable debug logging,
but that doesn't use glib logging either.

Also, the daemon does not use glib logging instead it logs to syslog.
When run with `--debug`.

Hence, it's not useful for us to define different G_LOG_DOMAIN per
library/application, because none of our libraries/applications should
use glib logging.

It also gets slightly confusing, because we have the static library like
`src/libnm-core-impl`, which is both linked into `libnm` (the library)
and `NetworkManager` (the daemon). Which logging domain should they use?

Set the G_LOG_DOMAIN to "nm" everywhere. But no longer do it via `-D`
arguments to the compiler.

See-also: https://developer.gnome.org/glib/stable/glib-Message-Logging.html#G-LOG-DOMAIN:CAPS
2021-02-18 19:46:57 +01:00
..
tests all: change G_LOG_DOMAIN to "nm" 2021-02-18 19:46:57 +01:00
meson.build all: change G_LOG_DOMAIN to "nm" 2021-02-18 19:46:57 +01:00
nm-client-utils.c all: add "libnm/nm-default-client.h" as replacement for "nm-default.h" 2021-02-09 12:38:17 +01:00
nm-client-utils.h build: move "libnm-core/" to "src/" and split it 2021-02-18 19:46:51 +01:00
nm-meta-setting-access.c all: add "libnm/nm-default-client.h" as replacement for "nm-default.h" 2021-02-09 12:38:17 +01:00
nm-meta-setting-access.h all: move shared/nm-meta-setting.[hc] to libnm-core and clients 2021-02-09 12:38:19 +01:00
nm-meta-setting-base-impl.c all: move shared/nm-meta-setting.[hc] to libnm-core and clients 2021-02-09 12:38:19 +01:00
nm-meta-setting-base-impl.h all: move shared/nm-meta-setting.[hc] to libnm-core and clients 2021-02-09 12:38:19 +01:00
nm-meta-setting-base.h all: move shared/nm-meta-setting.[hc] to libnm-core and clients 2021-02-09 12:38:19 +01:00
nm-meta-setting-desc.c build: move "libnm-core/" to "src/" and split it 2021-02-18 19:46:51 +01:00
nm-meta-setting-desc.h all: move shared/nm-meta-setting.[hc] to libnm-core and clients 2021-02-09 12:38:19 +01:00
nm-polkit-listener.c build: move "libnm-core/" to "src/" and split it 2021-02-18 19:46:51 +01:00
nm-polkit-listener.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-secret-agent-simple.c all: add "libnm/nm-default-client.h" as replacement for "nm-default.h" 2021-02-09 12:38:17 +01:00
nm-secret-agent-simple.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-vpn-helpers.c all: add "libnm/nm-default-client.h" as replacement for "nm-default.h" 2021-02-09 12:38:17 +01:00
nm-vpn-helpers.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
qrcodegen.c all: reformat all with new clang-format style 2020-09-28 16:07:51 +02:00
qrcodegen.h all: reformat all with new clang-format style 2020-09-28 16:07:51 +02:00
settings-docs.h.in docs: improve manual page about ipv4.addresses 2021-02-17 17:55:56 +01:00
settings-docs.xsl cli: fix marking settings docs for translation 2017-04-23 23:45:02 +02:00