X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/0bf11bc7fd93e0deafa8b6e09f89be30bf5fb824..c5f7b1fb4d94628bad1ff1e0564e78d400f62185:/l2tpns.c?ds=sidebyside diff --git a/l2tpns.c b/l2tpns.c index 808464d..0af33b6 100644 --- a/l2tpns.c +++ b/l2tpns.c @@ -4,7 +4,7 @@ // Copyright (c) 2002 FireBrick (Andrews & Arnold Ltd / Watchfront Ltd) - GPL licenced // vim: sw=8 ts=8 -char const *cvs_id_l2tpns = "$Id: l2tpns.c,v 1.73.2.15 2005/05/31 12:09:33 bodea Exp $"; +char const *cvs_id_l2tpns = "$Id: l2tpns.c,v 1.73.2.16 2005/06/01 01:10:15 bodea Exp $"; #include #include @@ -2103,7 +2103,7 @@ static void regular_cleanups(double period) else if (s_slice > config->cluster_highest_sessionid) s_slice = config->cluster_highest_sessionid; - LOG(5, 0, 0, "Begin regular cleanup (last %f seconds ago)\n", period); + LOG(4, 0, 0, "Begin regular cleanup (last %f seconds ago)\n", period); for (i = 0; i < t_slice; i++) { @@ -2306,12 +2306,8 @@ static void regular_cleanups(double period) } } - LOG((t_actions || r_actions || s_actions) ? 3 : 4, 0, 0, - "Regular cleanup: processed %d tunnels, %d radius and %d sessions\n", - t_actions, r_actions, s_actions); - - LOG(5, 0, 0, "End regular cleanup: checked %d tunnels, %d radius and %d sessions\n", - t_slice, r_slice, s_slice); + LOG(4, 0, 0, "End regular cleanup: checked %d/%d/%d tunnels/radius/sessions; %d/%d/%d actions\n", + t_slice, r_slice, s_slice, t_actions, r_actions, s_actions); } //