diff options
Diffstat (limited to 'shaping/src/main.cpp')
| -rw-r--r-- | shaping/src/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/shaping/src/main.cpp b/shaping/src/main.cpp index 881476b..b526ff7 100644 --- a/shaping/src/main.cpp +++ b/shaping/src/main.cpp @@ -11,6 +11,7 @@ #include "shaper_stat.h" #include "shaper_marsio.h" #include "shaper_session.h" +#include "shaper_swarmkv.h" #include "shaper_global_stat.h" static int quit = 0; @@ -38,8 +39,9 @@ static void sig_handler(int signo) { if (signo == SIGHUP) { - LOG_INFO("%s: recv SIGHUP, reload zlog.conf", LOG_TAG_SHAPING); + LOG_INFO("%s: recv SIGHUP, reload zlog.conf and swarmkv log level", LOG_TAG_SHAPING); LOG_RELOAD(); + swarmkv_reload_log_level(); } if (signo == SIGQUIT) { |
