Skip to content

Commit

Permalink
freeswitch: If-guard some verbose DBG logs
Browse files Browse the repository at this point in the history
Suggested by @NormB
  • Loading branch information
liviuchircu committed Sep 28, 2022
1 parent 96252b6 commit 6ec8dde
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/freeswitch/fs_proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,9 @@ static void apply_socket_commands(void)
fs_evs *sock;
int rc;

#ifdef EXTRA_DEBUG
LM_DBG("applying FS socket commands\n");
#endif

lock_start_write(sockets_esl_lock);
list_for_each_safe(_, __, fs_sockets_esl) {
Expand Down Expand Up @@ -576,7 +578,9 @@ void fs_conn_mgr_loop(int proc_no)
{
fs_api_set_proc_no();

#ifdef EXTRA_DEBUG
LM_DBG("size: %d, method: %d\n", reactor_size, io_poll_method);
#endif

if (init_worker_reactor("FS Manager", RCT_PRIO_MAX) != 0) {
LM_BUG("failed to init FS reactor");
Expand Down

0 comments on commit 6ec8dde

Please sign in to comment.