[Pkg-owncloud-maintainers] Bug#715484: Handling owncloud.log

David Prévot taffit at debian.org
Sun Jul 14 16:32:26 UTC 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

tags -1 pending

Hi gregor,

Le 14/07/2013 10:35, gregor herrmann a écrit :
> On Sun, 14 Jul 2013 09:11:19 -0400, David Prévot wrote:

>> 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).

> And I agree that ignoring the old logfile is no huge problem; after
> all this is unstable :)

Well, it should be in testing too within a week if nothing goes wrong ;)

> If it's mentioned in the changelog and/or README.Debian and/or
> NEWS.Debian, the admin can still decide to salvage it.

Since we already handle the move of the existing logfile if it was in
its default location (/var/lib/owncloud/data/owncloud.log), I’ll tend to
stick to d/changelog only (people messing with the setup should not
expect packages to handle everything on their behalf ;).

Just pushed some fixes to yesterday’s commit, and the patch we just
discussed, hopefully, that should do the trick, but comments are always
welcome:

http://anonscm.debian.org/gitweb/?p=pkg-owncloud/owncloud.git;a=commitdiff;h=034bdd9ed53ea679b0f71b5a12f58ecaed686afe
http://anonscm.debian.org/gitweb/?p=pkg-owncloud/owncloud.git;a=commitdiff;h=bca8aedc8564e7385938da3abbe83177420ae629
http://anonscm.debian.org/gitweb/?p=pkg-owncloud/owncloud.git;a=commitdiff;h=6cb7ff230de585f4745105eb5514b5bb6ac19a91

Regards

David


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQEcBAEBCAAGBQJR4tKaAAoJEAWMHPlE9r08+twIAIFX3pndHUm0MFTvNLkT6guC
sNyD1n04LEhEst2OODOqZHVoHEebV1j1SoPyQuM4OaszT5uwCQx3QZXRJunuVKXT
dq+nrDPZPb5GgYuUvWeXJ+2ODYAUGTZhLc6/lx2bucJOeZkgqvZs2JBFNTSlqTE/
+7jSq/VsUR87LINBiW+ngYojzUvpzW24d5AvgeR3lIyfly3y66uLxOyTiFPksKCj
CVe+hG1NzG/Yjo3SI+yvIuV3nTLY+Zs0KPvToNiCoI6WHdDG2Z2UfSfd+v4GQjdU
obWsk+6vjYoTOWI4Zqix/4AFKJoAjM3QX+NSZbZudM/zDgiwl3XQ+Hw1XAeesUQ=
=vV+B
-----END PGP SIGNATURE-----



More information about the Pkg-owncloud-maintainers mailing list