Issue with rotating log file
The zipping of log files has been removed here !42 (merged)
-rw-r--r-- 1 opid30 jsbg 1.3K Oct 24 13:58 MXPressA.log.10
-rw-r--r-- 1 opid30 jsbg 1.4K Oct 24 13:58 MXPressA.log.9
-rw-r--r-- 1 opid30 jsbg 10M Oct 24 14:02 MXPressA.log.8
-rw-r--r-- 1 opid30 jsbg 1.4K Oct 24 14:02 MXPressA.log.6
-rw-r--r-- 1 opid30 jsbg 3.0K Oct 24 14:02 MXPressA.log.5
-rw-r--r-- 1 opid30 jsbg 4.9M Oct 24 14:02 MXPressA.log.7
-rw-r--r-- 1 opid30 jsbg 10M Oct 24 14:05 MXPressA.log.4
-rw-r--r-- 1 opid30 jsbg 3.1K Oct 24 14:05 MXPressA.log.2
drwxrwsr-x 2 opid30 jsbg 20K Oct 24 14:05 .
-rw-r--r-- 1 opid30 jsbg 1.4K Oct 24 14:05 MXPressA.log.1
-rw-r--r-- 1 opid30 jsbg 4.9M Oct 24 14:05 MXPressA.log.3
-rw-r--r-- 1 opid30 jsbg 6.6M Oct 24 14:07 MXPressA.log
The file size limit that triggers log file rotation is 10 MB
https://gitlab.esrf.fr/sb/bes/-/blob/main/src/bes/bin/run_ppf_json.py?ref_type=heads#L89
However we see that some log files are much smaller. In principle only one MXPressA workflows runs at a time and even though tasks are executed in sub-processes, only one task runs at a time. So I don't see how concurrent access could cause this.
Ping @broche
Edited by Wout De Nolf