diff options
author | Kozlov Dmitry <dima@server> | 2010-11-29 17:45:58 +0300 |
---|---|---|
committer | Kozlov Dmitry <dima@server> | 2010-11-29 17:45:58 +0300 |
commit | f96198bf149203e1ddca8f2c381cf4b9849cdda9 (patch) | |
tree | f4b4c10a7b489f693ecb6301d1584de22e4e90a5 /accel-pptpd/extra/shaper_tbf.c | |
parent | 3a293aabc6e43319761a1f3020559873aa714334 (diff) | |
download | accel-ppp-f96198bf149203e1ddca8f2c381cf4b9849cdda9.tar.gz accel-ppp-f96198bf149203e1ddca8f2c381cf4b9849cdda9.zip |
log: introduced additional log level (3) which shows only minimum of information messages
Diffstat (limited to 'accel-pptpd/extra/shaper_tbf.c')
-rw-r--r-- | accel-pptpd/extra/shaper_tbf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/accel-pptpd/extra/shaper_tbf.c b/accel-pptpd/extra/shaper_tbf.c index 27b51a13..965fd16e 100644 --- a/accel-pptpd/extra/shaper_tbf.c +++ b/accel-pptpd/extra/shaper_tbf.c @@ -603,7 +603,7 @@ static void ev_radius_access_accept(struct ev_radius_t *ev) if (down_speed > 0 && up_speed > 0) { if (!install_shaper(ev->ppp->ifname, down_speed, down_burst, up_speed, up_burst)) { if (conf_verbose) - log_ppp_info("tbf: installed shaper %i/%i (Kbit)\n", down_speed, up_speed); + log_ppp_info2("tbf: installed shaper %i/%i (Kbit)\n", down_speed, up_speed); } } } @@ -651,11 +651,11 @@ static void ev_radius_coa(struct ev_radius_t *ev) return; } else { if (conf_verbose) - log_ppp_info("tbf: changed shaper %i/%i (Kbit)\n", down_speed, up_speed); + log_ppp_info2("tbf: changed shaper %i/%i (Kbit)\n", down_speed, up_speed); } } else { if (conf_verbose) - log_ppp_info("tbf: removed shaper\n"); + log_ppp_info2("tbf: removed shaper\n"); } } } @@ -678,7 +678,7 @@ static void ev_shaper(struct ev_shaper_t *ev) pd->up_speed = up_speed; if (!install_shaper(ev->ppp->ifname, down_speed, down_burst, up_speed, up_burst)) { if (conf_verbose) - log_ppp_info("tbf: installed shaper %i/%i (Kbit)\n", down_speed, up_speed); + log_ppp_info2("tbf: installed shaper %i/%i (Kbit)\n", down_speed, up_speed); } } } |