[Pkg-owncloud-maintainers] Bug#715484: Handling owncloud.log
taffit at debian.org
Sun Jul 14 13:11:19 UTC 2013
-----BEGIN PGP SIGNED MESSAGE-----
Control: tags -1 pending
Le 14/07/2013 08:37, gregor herrmann a écrit :
> The problem is that owncloud writes the log to what is defined as
> 'datadirectory' in /etc/owncloud/config.php, and this can be
> anything, not just the default /var/lib/owncloud/data.
Indeed, thanks for your comment (and for keeping an eye on this bug
report). Setting “"logfile" => "/var/log/owncloud.log"” by default could
indeed be nicer, not sure how to handle upgrade (it would probably worth
to set it if logfile isn’t defined yet).
An alternative would be to patch the $defaultLogFile in
lib/log/owncloud.php, so it would work on upgrade too (the only missing
bit would be to let the existing owncloud.log rot where it is, but we
can probably live with that).
Comments welcome on those two proposed solutions, and other ideas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the Pkg-owncloud-maintainers