[Zope] Log Files Not Logging
Jens Vagelpohl
jens at dataflake.org
Tue Aug 15 11:07:15 EDT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 15 Aug 2006, at 10:23, zope at 2012.vi wrote:
> Hi;
> I just took over managing my own server. The Z2.log files were
> enormous, so as a quick fix (before creating a rotation cron job) I
> created a new file and moved it to Z2.log Everything was the same
> except the owner was root, so I chowned it over and made it the
> same as before I cleared off the old one. But when I go to hit
> sites the hits aren't logged. (Note: It's not an error I'm looking
> for at first in the log, just a regular hit.) Here's a partial
> printout of "ls -al":
You cannot just move a log file to the side, create a new one and
expect that the still-running process now uses the new file. You must
tell the running application that the file has been moved. "zopectl
logreopen" will do that, or a restart.
jens
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
iD8DBQFE4eMkRAx5nvEhZLIRAtz5AKCtMaj07SNF12tAnO5iEkusAiAxhwCfSeEp
UAeW5C93Ul8Wwc594dpj76I=
=zBSU
-----END PGP SIGNATURE-----
More information about the Zope
mailing list