Changeset 974:2091bf698fb1 in freeDiameter for extensions/dbg_monitor/dbg_monitor.c
- Timestamp:
- Mar 15, 2013, 2:14:35 AM (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/dbg_monitor/dbg_monitor.c
r740 r974 61 61 #ifdef DEBUG 62 62 for (i++; i % 30; i++) { 63 fd_log_debug("[dbg_monitor] %ih%*im%*is \n", i/3600, 2, (i/60) % 60 , 2, i%60); /* This makes it easier to detect inactivity periods in the log file */63 fd_log_debug("[dbg_monitor] %ih%*im%*is", i/3600, 2, (i/60) % 60 , 2, i%60); /* This makes it easier to detect inactivity periods in the log file */ 64 64 sleep(1); 65 65 } … … 67 67 sleep(3600); /* 1 hour */ 68 68 #endif /* DEBUG */ 69 fd_log_debug("[dbg_monitor] Dumping current information \n");69 fd_log_debug("[dbg_monitor] Dumping current information"); 70 70 CHECK_FCT_DO(fd_event_send(fd_g_config->cnf_main_ev, FDEV_DUMP_QUEUES, 0, NULL), /* continue */); 71 71 CHECK_FCT_DO(fd_event_send(fd_g_config->cnf_main_ev, FDEV_DUMP_SERV, 0, NULL), /* continue */); … … 80 80 static void got_sig() 81 81 { 82 fd_log_debug("[dbg_monitor] Dumping extra information \n");82 fd_log_debug("[dbg_monitor] Dumping extra information"); 83 83 CHECK_FCT_DO(fd_event_send(fd_g_config->cnf_main_ev, FDEV_DUMP_DICT, 0, NULL), /* continue */); 84 84 CHECK_FCT_DO(fd_event_send(fd_g_config->cnf_main_ev, FDEV_DUMP_CONFIG, 0, NULL), /* continue */);
Note: See TracChangeset
for help on using the changeset viewer.