APE log rotation

13 views
Skip to first unread message

Nicolas

unread,
May 14, 2012, 6:23:26 AM5/14/12
to APE Project
Hi,

I am struggling with the APE log rotation.

This is currently done on my server via webmin. It rotates ape.log
into ape.log.1 and then ape.log.2 etc.

The problem is that when copying ape.log into ape.log.1, it must be
doing it the wrong way (or APE has still the file open).

It results in ape.log indeed being copied onto ape.log.1 but APE
continuing to write in ape.log.1 (and not ape.log).

I believe that APE has the file open all the time and the fact that it
has been "renamed" does not bother him much.

The result is that there is no file rotation. Everything ends up in
ape.log.1 and that is for ever.

Any solution to this?

How do you handle APE log file rotation?

Nicolas.

oferbar

unread,
May 15, 2012, 3:17:34 AM5/15/12
to APE Project
What happens if you restart the aped service?

Nicolas Guibert

unread,
May 15, 2012, 5:46:51 AM5/15/12
to ape-p...@googlegroups.com
Well, it starts logging back into ape.log until the first rotation when it will then be ape.log.1



2012/5/15 oferbar <ofer...@gmail.com>
--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to ape-p...@googlegroups.com
To unsubscribe from this group, send email to
ape-project...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

Reply all
Reply to author
Forward
0 new messages