mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
2626 - log modularity: filterable logs using minimal log level per channel
🐛 logs are no more written twice.
This commit is contained in:
@@ -250,7 +250,6 @@ class FileLog
|
||||
$sContext = var_export($aContext, true);
|
||||
fwrite($hLogFile, "$sDate | $sText\n$sContext\n");
|
||||
}
|
||||
fwrite($hLogFile, "$sDate | $sText\n");
|
||||
fflush($hLogFile);
|
||||
flock($hLogFile, LOCK_UN);
|
||||
fclose($hLogFile);
|
||||
|
||||
Reference in New Issue
Block a user