[Pkg-owncloud-maintainers] Bug#715484: Handling owncloud.log
gregoa at debian.org
Sun Jul 14 14:35:56 UTC 2013
On Sun, 14 Jul 2013 09:11:19 -0400, David Prévot wrote:
> 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
De rien :)
> 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).
I think I'd go with the second option to avoid messing with a
conffile and to ensure a sensible default.
And I agree that ignoring the old logfile is no huge problem; after
all this is unstable :)
If it's mentioned in the changelog and/or README.Debian and/or
NEWS.Debian, the admin can still decide to salvage it.
.''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
: :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/
`. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
`- NP: Soluna Samay: Number 24
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: Digital signature
More information about the Pkg-owncloud-maintainers