diff --git a/src/network/netdev/netdev.c b/src/network/netdev/netdev.c index d37476bb716..53f74f6e8b0 100644 --- a/src/network/netdev/netdev.c +++ b/src/network/netdev/netdev.c @@ -973,7 +973,7 @@ int netdev_load_one(Manager *manager, const char *filename) { if (r < 0) return r; - log_netdev_debug(netdev, "loaded \"%s\"", netdev_kind_to_string(netdev->kind)); + log_syntax(/* unit = */ NULL, LOG_DEBUG, filename, /* config_line = */ 0, /* error = */ 0, "Successfully loaded."); r = netdev_request_to_create(netdev); if (r < 0) diff --git a/src/network/networkd-network.c b/src/network/networkd-network.c index 8ccf215a71e..5107da47839 100644 --- a/src/network/networkd-network.c +++ b/src/network/networkd-network.c @@ -590,6 +590,7 @@ int network_load_one(Manager *manager, OrderedHashmap **networks, const char *fi return log_warning_errno(r, "%s: Failed to store configuration into hashmap: %m", filename); TAKE_PTR(network); + log_syntax(/* unit = */ NULL, LOG_DEBUG, filename, /* config_line = */ 0, /* error = */ 0, "Successfully loaded."); return 0; }