> On 09/27/2015 04:37 AM, Chris Green wrote:
> > On Sat, Sep 26, 2015 at 09:41:50AM -0700, Chris wrote:
> >>
> >> https://doc.owncloud.org/desktop/2.0/troubleshooting.html#log-files
> >>
> > However that doesn't say how to reduce logging.

Well, it does describe the --logdir and --logexpire options for the
client and the verbosity level option for the server.


Quoting oc (2015-10-04 18:28:52)
> That may be because a sysadmin can write a script, driven by cron, to:
> 
> 1 - shutdown owncloud
> 2 - copy and compress the log
> 3 - remove the log
> 4 - restart owncloud
> 
> Granted that may be expecting too much of some people who run owncloud,
> but experienced sysadmins often think this way.  :-)

As a sysadmin you try to avoid 1 and 4 as much as possible.

Also, you would not write a script, but use system functionality like
logrotate and/or systemd:

https://wiki.archlinux.org/index.php/Logrotate
https://wiki.archlinux.org/index.php/Systemd/Timers


Sincerely,

Malte
_______________________________________________
User mailing list
[email protected]
http://mailman.owncloud.org/mailman/listinfo/user

Reply via email to