NetworkManager/libnm
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
..
nm-libnm-aux all: add "libnm/nm-default-client.h" as replacement for "nm-default.h" 2021-02-09 12:38:17 +01:00
tests all: change G_LOG_DOMAIN to "nm" 2021-02-18 19:46:57 +01:00
libnm.pc.in libnm,pkg-config: provide a variable with VPN service directory 2015-08-19 15:13:11 +02:00
libnm.ver veth: add support to configure veth interfaces 2020-11-27 10:12:36 +01:00
meson.build all: change G_LOG_DOMAIN to "nm" 2021-02-18 19:46:57 +01:00
NetworkManager.h libnm,shared: move nm-ethtool helper to "libnm-base" 2021-01-15 11:32:41 +01:00
nm-access-point.c all: add "libnm/nm-default-libnm.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-access-point.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-active-connection.c build: move "libnm-core/" to "src/" and split it 2021-02-18 19:46:51 +01:00
nm-active-connection.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-autoptr.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-checkpoint.c build: move "libnm-core/" to "src/" and split it 2021-02-18 19:46:51 +01:00
nm-checkpoint.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-client.c build: move "libnm-core/" to "src/" and split it 2021-02-18 19:46:51 +01:00
nm-client.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-dbus-helpers.c all: add "libnm/nm-default-libnm.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-dbus-helpers.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-default-client.h all: add "libnm/nm-default-client.h" as replacement for "nm-default.h" 2021-02-09 12:38:17 +01:00
nm-default-libnm.h all: add "libnm/nm-default-libnm.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-device-6lowpan.c all: add "libnm/nm-default-libnm.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-device-6lowpan.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-device-adsl.c all: add "libnm/nm-default-libnm.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-device-adsl.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-device-bond.c build: move "libnm-core/" to "src/" and split it 2021-02-18 19:46:51 +01:00
nm-device-bond.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-device-bridge.c build: move "libnm-core/" to "src/" and split it 2021-02-18 19:46:51 +01:00
nm-device-bridge.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-device-bt.c all: add "libnm/nm-default-libnm.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-device-bt.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-device-dummy.c all: add "libnm/nm-default-libnm.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-device-dummy.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-device-ethernet.c all: add "libnm/nm-default-libnm.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-device-ethernet.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-device-generic.c all: add "libnm/nm-default-libnm.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-device-generic.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-device-infiniband.c all: add "libnm/nm-default-libnm.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-device-infiniband.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-device-ip-tunnel.c build: move "libnm-core/" to "src/" and split it 2021-02-18 19:46:51 +01:00
nm-device-ip-tunnel.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-device-macsec.c all: add "libnm/nm-default-libnm.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-device-macsec.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-device-macvlan.c all: add "libnm/nm-default-libnm.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-device-macvlan.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-device-modem.c all: add "libnm/nm-default-libnm.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-device-modem.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-device-olpc-mesh.c all: add "libnm/nm-default-libnm.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-device-olpc-mesh.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-device-ovs-bridge.c build: move "libnm-core/" to "src/" and split it 2021-02-18 19:46:51 +01:00
nm-device-ovs-bridge.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-device-ovs-interface.c all: add "libnm/nm-default-libnm.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-device-ovs-interface.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-device-ovs-port.c build: move "libnm-core/" to "src/" and split it 2021-02-18 19:46:51 +01:00
nm-device-ovs-port.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-device-ppp.c all: add "libnm/nm-default-libnm.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-device-ppp.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-device-private.h libnm: use the o.fd.DBus.ObjectManager API for object management 2016-11-10 16:48:48 +01:00
nm-device-team.c build: move "libnm-core/" to "src/" and split it 2021-02-18 19:46:51 +01:00
nm-device-team.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-device-tun.c all: add "libnm/nm-default-libnm.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-device-tun.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-device-veth.c all: add "libnm/nm-default-libnm.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-device-veth.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-device-vlan.c all: add "libnm/nm-default-libnm.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-device-vlan.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-device-vrf.c all: add "libnm/nm-default-libnm.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-device-vrf.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-device-vxlan.c all: add "libnm/nm-default-libnm.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-device-vxlan.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-device-wifi-p2p.c build: move "libnm-core/" to "src/" and split it 2021-02-18 19:46:51 +01:00
nm-device-wifi-p2p.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-device-wifi.c build: move "libnm-core/" to "src/" and split it 2021-02-18 19:46:51 +01:00
nm-device-wifi.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-device-wimax.c all: add "libnm/nm-default-libnm.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-device-wimax.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-device-wireguard.c all: add "libnm/nm-default-libnm.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-device-wireguard.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-device-wpan.c all: add "libnm/nm-default-libnm.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-device-wpan.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-device.c build: move "libnm-core/" to "src/" and split it 2021-02-18 19:46:51 +01:00
nm-device.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-dhcp-config.c all: add "libnm/nm-default-libnm.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-dhcp-config.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-dhcp4-config.c all: add "libnm/nm-default-libnm.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-dhcp4-config.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-dhcp6-config.c all: add "libnm/nm-default-libnm.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-dhcp6-config.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-dns-manager.c build: move "libnm-core/" to "src/" and split it 2021-02-18 19:46:51 +01:00
nm-dns-manager.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-enum-types.c.template all: change G_LOG_DOMAIN to "nm" 2021-02-18 19:46:57 +01:00
nm-enum-types.h.template all: add "libnm/nm-default-libnm.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-ethtool-utils.h ethtool: add more offload features that kernel supports 2021-02-08 15:11:11 +01:00
nm-ip-config.c build: move "libnm-core/" to "src/" and split it 2021-02-18 19:46:51 +01:00
nm-ip-config.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-ip4-config.c all: add "libnm/nm-default-libnm.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-ip4-config.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-ip6-config.c all: add "libnm/nm-default-libnm.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-ip6-config.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-libnm-utils.c build: move "libnm-core/" to "src/" and split it 2021-02-18 19:46:51 +01:00
nm-libnm-utils.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-object-private.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-object.c build: move "libnm-core/" to "src/" and split it 2021-02-18 19:46:51 +01:00
nm-object.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-remote-connection-private.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-remote-connection.c build: move "libnm-core/" to "src/" and split it 2021-02-18 19:46:51 +01:00
nm-remote-connection.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-secret-agent-old.c build: move "libnm-core/" to "src/" and split it 2021-02-18 19:46:51 +01:00
nm-secret-agent-old.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-types.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-vpn-connection.c all: add "libnm/nm-default-libnm.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-vpn-connection.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-vpn-editor.c all: add "libnm/nm-default-libnm.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-vpn-editor.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-vpn-plugin-old.c build: move "libnm-core/" to "src/" and split it 2021-02-18 19:46:51 +01:00
nm-vpn-plugin-old.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-vpn-service-plugin.c build: move "libnm-core/" to "src/" and split it 2021-02-18 19:46:51 +01:00
nm-vpn-service-plugin.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-wifi-p2p-peer.c all: add "libnm/nm-default-libnm.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-wifi-p2p-peer.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-wimax-nsp.c all: add "libnm/nm-default-libnm.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-wimax-nsp.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00