Added skygw_log_enable if debug option is set

Added skygw_log_enable if debug option is set
This commit is contained in:
MassimilianoPinto
2015-08-26 18:00:39 +02:00
parent f60254f626
commit 54ee264daf

View File

@ -141,6 +141,8 @@ int main(int argc, char **argv) {
if (!debug_out)
skygw_log_disable(LOGFILE_DEBUG);
else
skygw_log_enable(LOGFILE_DEBUG);
if ((inst = calloc(1, sizeof(ROUTER_INSTANCE))) == NULL) {
LOGIF(LE, (skygw_log_write_flush(LOGFILE_ERROR,