[Pkg-owncloud-maintainers] Bug#715484: Handling owncloud.log
David Prévot
taffit at debian.org
Sun Jul 14 13:11:19 UTC 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Control: tags -1 pending
Hi gregor,
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
welcome too.
Regards
David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQEcBAEBCAAGBQJR4qN3AAoJEAWMHPlE9r08ynQIAIVSHNTs1s2Daz1p/tNmdZD2
vpYdDUG+hM1rICe0+n5BvPkPiEjAkDC4k3QAWx2jxLBXJOTF2V28fIlWOOtQqPZ9
JR/QyEdM0mnKlf1ynki44pTREmISUnawY9EpD9tX7xDGvWmrMzGIvZRApjqsHcRv
7pr5E8qJGCCHWnkf6exVgWW0qEpvzoqat4UjwlcX13RLVpS2bohzbd6advfiGJx4
AVDvsIPqkFDJcmCCkvlbvf8ibKhfwSF8qZX3PrAOiy9TJhO82rNZ3Mfq26XIfXsu
BqwdKlkEBj3aeaWunEz3wQp0B3wgq16aQuaLNJ67Hb6icXjaphc/sgguupZX3RI=
=RVa2
-----END PGP SIGNATURE-----
More information about the Pkg-owncloud-maintainers
mailing list