Fixed debug logs not working when logging and flushing.

This commit is contained in:
Markus Makela 2015-08-26 12:49:00 +03:00
parent ec3a4644e4
commit 2f9ae48f6a

View File

@ -1395,7 +1395,7 @@ int skygw_log_write_flush(
/**
* Write log string to buffer and add to file write list.
*/
for (i = LOGFILE_FIRST; i<LOGFILE_LAST ;i <<=1)
for (i = LOGFILE_FIRST; i<=LOGFILE_LAST ;i <<=1)
{
/**
* If particular log is disabled in general and it is not enabled for