Aborting post-run: invalid raw log file string error when log file is empty #744
-
| 
         I've set  However now every repo prints a warning log after finishing: I assume it happens because the log file is actually empty when no error log has occurred. Would prefer an option to disable log files but just wanted to report what seems to be a bug anyway.  | 
  
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
| 
         This is because  You can use the logging configuration options to control log retention. I suppose we could make the log cleanup support even more aggressive if needed tho. Thanks for raising this!.  | 
  
Beta Was this translation helpful? Give feedback.
This is because
Renovate CE/EEparses the logs after each run to extract various metadata, for example for determining repository statuses. This makesRenovate CE/EEmore efficient by placing repositories into the appropriate scheduling bucket. Thats just one example, and I suggest not disabling file logs if possible, as they are needed for normal operation.You can use the logging configuration options to control log retention.
I suppose we could make the log cleanup support even more aggressive if needed tho.
Thanks for raising this!.