summaryrefslogtreecommitdiffstats
path: root/src/peer.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-06-06 13:14:54 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-06-06 13:14:54 +0200
commit7297dd73d5bfa05f829bf44cd8480627d5b387f8 (patch)
tree987645be361c5abec09b749a47b6863ffb501228 /src/peer.c
parentb3d678c5f2f2f6208f37780090427b6c47e446e4 (diff)
downloadfastd-7297dd73d5bfa05f829bf44cd8480627d5b387f8.tar
fastd-7297dd73d5bfa05f829bf44cd8480627d5b387f8.zip
Improve some log levels
Diffstat (limited to 'src/peer.c')
-rw-r--r--src/peer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/peer.c b/src/peer.c
index db1f61a..23cb170 100644
--- a/src/peer.c
+++ b/src/peer.c
@@ -328,7 +328,7 @@ fastd_peer* fastd_peer_add(fastd_context *ctx, fastd_peer_config *peer_conf) {
peer->config = peer_conf;
setup_peer(ctx, peer);
- pr_debug(ctx, "adding peer %P", peer);
+ pr_verbose(ctx, "adding peer %P", peer);
return peer;
}
@@ -337,7 +337,7 @@ void fastd_peer_set_established(fastd_context *ctx, fastd_peer *peer) {
if (!peer->established) {
peer->established = true;
on_establish(ctx, peer);
- pr_info(ctx, "Connection with %P established.", peer);
+ pr_info(ctx, "connection with %P established.", peer);
}
}
@@ -428,7 +428,7 @@ void fastd_peer_eth_addr_add(fastd_context *ctx, fastd_peer *peer, const fastd_e
ctx->eth_addr[min] = (fastd_peer_eth_addr){ *addr, peer, ctx->now };
- pr_debug(ctx, "Learned new MAC address %E on peer %P", addr, peer);
+ pr_debug(ctx, "learned new MAC address %E on peer %P", addr, peer);
}
void fastd_peer_eth_addr_cleanup(fastd_context *ctx) {