summaryrefslogtreecommitdiff
path: root/src/network/networkd-manager.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-01-02 15:30:46 +0100
committerTom Gundersen <teg@jklm.no>2014-01-02 15:49:23 +0100
commit449f75549247b3b7b073a788f0f099ce6b7c5378 (patch)
treede0940c4fa23175d65e6569610055801e060b21a /src/network/networkd-manager.c
parentbe9326ca1d207e1df6a033c593393ebbbc433148 (diff)
networkd: improve logging
Remove redundant messages, add some debugging ones and make wording more uniform.
Diffstat (limited to 'src/network/networkd-manager.c')
-rw-r--r--src/network/networkd-manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/networkd-manager.c b/src/network/networkd-manager.c
index c48c0180ad..73e0c87f34 100644
--- a/src/network/networkd-manager.c
+++ b/src/network/networkd-manager.c
@@ -134,7 +134,7 @@ static int manager_process_link(Manager *m, struct udev_device *device) {
if (streq_ptr(udev_device_get_action(device), "remove")) {
uint64_t ifindex;
- log_debug("Link removed: %s", udev_device_get_sysname(device));
+ log_debug("%s: link removed", udev_device_get_sysname(device));
ifindex = udev_device_get_ifindex(device);
link = hashmap_get(m->links, &ifindex);
@@ -143,7 +143,7 @@ static int manager_process_link(Manager *m, struct udev_device *device) {
link_free(link);
} else {
- log_debug("New link: %s", udev_device_get_sysname(device));
+ log_debug("%s: link added", udev_device_get_sysname(device));
r = link_add(m, device);
if (r < 0) {