owncloud / core

:cloud: ownCloud web server core (Files, DAV, etc.)
https://owncloud.com
GNU Affero General Public License v3.0
8.38k stars 2.05k forks source link

Add buton to clear log file #29355

Closed EdisAganovic closed 7 years ago

EdisAganovic commented 7 years ago

After while LOG file is huge... just add button to Clear log file. I don't want to waste my time to go to Cpanel/SFTP to delete log file.

DeepDiver1975 commented 7 years ago

After while LOG file is huge...

Please use proper log rotation settings - see https://doc.owncloud.org/server/latest/admin_manual/configuration/server/config_sample_php_parameters.html?highlight=log_rotate_size#logging

This way you can make sure that a maximum log file size is no exceeded.

I personally doubt that we will add a log delete button. We recommend ssh for sysadmin tasks.

ghost commented 7 years ago

There is already a log_rotate_size available to rotate such logfiles and keep them smaller:

https://doc.owncloud.org/server/latest/admin_manual/configuration/server/config_sample_php_parameters.html#logging

If the logfiles are huge the reason why you get that much logging should be solved as you won't get much logging on a "normal" working production system.

To get some insights why your logfile is that large you could ask for some support in https://central.owncloud.org/

lock[bot] commented 5 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.