NetworkManager/src/core/dhcp
Thomas Haller 4b874019ad
dhcp: downgrade logging messages for DHCP to <debug>
Granted, for debugging this information is useful. However, to actually
debug an issue thoroughly, level=TRACE is anyway required. There is simply
no way how we can log useful debug information and not flood logging
messages for regular use.

For example, logging the DHCP lease options can easily print 30 lines.
And this, every time you get a lease update (e.g. every 30 minutes) and
for every interface that does DHCP.

It's simply too verbose. Downgrade the logging level.

Yes, now our default <info> level is even less useful to understand what
is going on. But the majority of time, users don't care so not spamming
the log is more important.

However, we still log the DHCP event (and the IP address) with <info>
level.
2021-02-11 14:33:32 +01:00
..
tests dhcp: rework DHCP options to not carry around option array 2021-02-11 12:26:18 +01:00
meson.build all: add "nm-glib-aux/nm-default-glib.h" as replacement for "nm-default.h" 2021-02-09 12:38:17 +01:00
nm-dhcp-client-logging.h all: move "src/" directory to "src/core/" 2021-02-04 09:45:55 +01:00
nm-dhcp-client.c dhcp: downgrade logging messages for DHCP to <debug> 2021-02-11 14:33:32 +01:00
nm-dhcp-client.h all: move "src/" directory to "src/core/" 2021-02-04 09:45:55 +01:00
nm-dhcp-dhclient-utils.c all: add "src/core/nm-default-daemon.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-dhcp-dhclient-utils.h all: move "src/" directory to "src/core/" 2021-02-04 09:45:55 +01:00
nm-dhcp-dhclient.c all: add "src/core/nm-default-daemon.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-dhcp-dhcpcanon.c all: add "src/core/nm-default-daemon.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-dhcp-dhcpcd.c all: add "src/core/nm-default-daemon.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-dhcp-helper-api.h all: move "src/" directory to "src/core/" 2021-02-04 09:45:55 +01:00
nm-dhcp-helper.c all: add "nm-glib-aux/nm-default-glib.h" as replacement for "nm-default.h" 2021-02-09 12:38:17 +01:00
nm-dhcp-listener.c all: add "src/core/nm-default-daemon.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-dhcp-listener.h all: move "src/" directory to "src/core/" 2021-02-04 09:45:55 +01:00
nm-dhcp-manager.c all: add "src/core/nm-default-daemon.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-dhcp-manager.h all: move "src/" directory to "src/core/" 2021-02-04 09:45:55 +01:00
nm-dhcp-nettools.c dhcp: rework DHCP options to not carry around option array 2021-02-11 12:26:18 +01:00
nm-dhcp-options.c dhcp: binary search in nm_dhcp_option_find() 2021-02-11 13:00:18 +01:00
nm-dhcp-options.h dhcp: rework DHCP options to not carry around option array 2021-02-11 12:26:18 +01:00
nm-dhcp-systemd.c dhcp: rework DHCP options to not carry around option array 2021-02-11 12:26:18 +01:00
nm-dhcp-utils.c dhcp/nettools: accept any number of trailing NULs in string options 2021-02-11 09:23:20 +01:00
nm-dhcp-utils.h dhcp/nettools: make data pointer const 2021-02-11 09:23:18 +01:00