[Xitami] supervisor agent and logs
Michael S. Kazarin
xitami@lists.xitami.org
Tue, 7 Aug 2001 11:30:47 +0400
Ewen wrote:
| You might be better working with it, to tell it not to remove log files
| as often. You can configure the log rotation and how long they're kept
| in the Xitami configuration file as well.
How do I actually do that? I have my logs cycled daily, so there is a file
for each day.
But how can I tell it to keep more than 14 of them, i. e. more than two
weeks of logs.
I have this set up in config:
[Accesslog]
enabled=1
filename=haccess.log
local=1
format=CLFX
custom=
translate=0
cycle=daily
cycle-how=rename
cycle-time=00:00
cycle-day=0
cycle-size=0
cycle-lines=0
cycle-arg=ha%yy%mm%dd.log
I understand that I could have run a batch file to archive logs or move them
to another location so they won't get deleted, but I wouldn't like to for
specific reasons.