Projekt

Allgemein

Profil

GX-Bug #70443

Von Moritz Bunjes vor etwa 1 Jahr aktualisiert

Wenn während einer Scriptlaufzeit eine Log-Datei die maximale Größe überschreitet und aus der aktuellen Log-Datei eine komprimierte Datei erzeugt wird, haben die folgenden erzeugten Log-Dateien im json-Format einen Syntax-Fehler, so dass sie im Gambio Admin unter "Toolbox > Logs anzeigen" nicht ausgelesen werden können. 

 --- 

 If during a script runtime a log file exceeds the maximum size and a compressed file is generated from the current log file, the following generated log files in json format have a syntax error so that they cannot be read in the Gambio Admin under "Toolbox > Show Logs". 

 In the GZipHandler class the method prepareRecordForFirstWriteInLogfile is not called after a new empty log file is created, because the logfileIsEmpty method returns false, because the filesize() result is cached by php. A clearstatcache() call is needed.

Zurück