Re: How to rotate PHP error log - since it belongs to apache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alexander Farber said the following on 05/06/12 15:57:

> So my question is for how to rotate it (esp. since it should be owned by
> "apache" user) - what do you guys use?

the standard logrotate config /etc/logrotate.d/httpd or a modified copy of it

since the rotation moves the old log and then reloads Apache, you don't have
to worry about the ownership issue



Ciao,
luigi

- -- 
/
+--[Luigi Rosa]--
\

First Law of Socio-Genetics: Celibacy is not hereditary.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/OEeAACgkQ3kWu7Tfl6ZR5xACdGmRGc9sSBZVRiZy1pzuTBVv/
qsEAoKR1NfYc7lYMhtIwuYEtZd+0Rlfk
=jRtF
-----END PGP SIGNATURE-----
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux