Delete log file flow.log

Hi All,

I just would like to quickly ask, if I can safely delete flow.log as it is currently 19Gb.
(Nextcloud 20.0.9)
I read that I can safely truncate/delete nextcloud.log (31Gb currently) but I could not find any result for flow.log

Thank you for the answer in advance.

Regards,
Balazs

You can set flow.log to /dev/null:
Add options to define path to workflow log and to disable logging (flow.log) · Issue #20100 · nextcloud/server · GitHub

occ config:app:set workflowengine logfile --value=/dev/null

I think then you can also delete flow.log. Please show if you really do not need the logfile.

Also you can set the loglevel in config/config.php for minimize logging.

Dear @devnull, is it safe to remove the logs files or can i edit the logs file?, thanks in advance

No real idea. But if you set logfile to /dev/null i think the other logfile is not used anymore.

Thanks for your reply sir