Fixed debug logs not working when logging and flushing.
This commit is contained in:
@ -1395,7 +1395,7 @@ int skygw_log_write_flush(
|
|||||||
/**
|
/**
|
||||||
* Write log string to buffer and add to file write list.
|
* 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
|
* If particular log is disabled in general and it is not enabled for
|
||||||
|
|||||||
Reference in New Issue
Block a user