Navigation



Ignore:
Timestamp:
Mar 15, 2013, 2:14:35 AM (11 years ago)
Author:
Thomas Klausner <tk@giga.or.at>
Branch:
default
Phase:
public
Message:

Remove newlines from fd_log_debug, TRACE_DEBUG, TRACE_ERROR, and TRACE_DEBUG_ERROR
(as far as sed could find them)
with manual fixing afterwards.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/dbg_monitor/dbg_monitor.c

    r740 r974  
    6161                #ifdef DEBUG
    6262                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 */
    6464                        sleep(1);
    6565                }
     
    6767                sleep(3600); /* 1 hour */
    6868                #endif /* DEBUG */
    69                 fd_log_debug("[dbg_monitor] Dumping current information\n");
     69                fd_log_debug("[dbg_monitor] Dumping current information");
    7070                CHECK_FCT_DO(fd_event_send(fd_g_config->cnf_main_ev, FDEV_DUMP_QUEUES, 0, NULL), /* continue */);
    7171                CHECK_FCT_DO(fd_event_send(fd_g_config->cnf_main_ev, FDEV_DUMP_SERV, 0, NULL), /* continue */);
     
    8080static void got_sig()
    8181{
    82         fd_log_debug("[dbg_monitor] Dumping extra information\n");
     82        fd_log_debug("[dbg_monitor] Dumping extra information");
    8383        CHECK_FCT_DO(fd_event_send(fd_g_config->cnf_main_ev, FDEV_DUMP_DICT, 0, NULL), /* continue */);
    8484        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.