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

@ -238,12 +238,14 @@ int main(int argc, char* argv[])
#if defined(TEST3)
/**
/**
* Test enable/disable log.
*/
r = skygw_logmanager_init(argc, argv);
ss_dassert(r);
skygw_log_disable(LOGFILE_TRACE);
logstr = ("1.\tWrite to ERROR and MESSAGE logs.");
err = skygw_log_write(LOGFILE_MESSAGE, logstr);
ss_dassert(err == 0);