Browse code

acc: debug messages when initializing db table names

Daniel-Constantin Mierla authored on 15/03/2019 08:39:03
Showing 1 changed files
... ...
@@ -374,6 +374,8 @@ static int mod_init( void )
374 374
 			LM_ERR("unable to parse acc table name [%.*s]\n",
375 375
 					db_table_acc.len, db_table_acc.s);
376 376
 			return -1;
377
+		} else {
378
+			LM_DBG("acc db table initialized to: %s\n", db_table_acc.s);
377 379
 		}
378 380
 	}
379 381
 	if(db_table_mc.len!=12 || strncmp(db_table_mc.s, "missed_calls", 12)!=0)
... ...
@@ -384,6 +386,8 @@ static int mod_init( void )
384 384
 			LM_ERR("unable to parse mc table name [%.*s]\n",
385 385
 					db_table_mc.len, db_table_mc.s);
386 386
 			return -1;
387
+		} else {
388
+			LM_DBG("missed calls db table initialized to: %s\n", db_table_mc.s);
387 389
 		}
388 390
 	}
389 391