Enabled trace log in DEBUG=Y builds. Modified testlog-c accordingly.

This commit is contained in:
vraatikka
2013-08-09 10:01:34 +03:00
parent 58e6415c73
commit 43fb6b87f1
2 changed files with 7 additions and 2 deletions

View File

@ -252,6 +252,9 @@ static bool logmanager_init_nomutex(
lm->lm_logmes = skygw_message_init();
lm->lm_enabled_logfiles |= LOGFILE_ERROR;
lm->lm_enabled_logfiles |= LOGFILE_MESSAGE;
#if defined(SS_DEBUG)
lm->lm_enabled_logfiles |= LOGFILE_TRACE;
#endif
fn = &lm->lm_fnames_conf;
fw = &lm->lm_filewriter;
fn->fn_state = UNINIT;