Apache automatic Archive of logs

Apache automatic Archive of logs

am 17.01.2008 17:58:58 von tamasumalta

Hi,

First of all I am new to apache and its configuration. I would like to
know how I can configure my web server to automatically archive the
log files and what are the options that I can use?

Your help will be much appreciated.

Thanks

Re: Apache automatic Archive of logs

am 17.01.2008 18:31:16 von sean dreilinger

tamasumalta@gmail.com wrote:
> First of all I am new to apache and its configuration. I would like to
> know how I can configure my web server to automatically archive the
> log files and what are the options that I can use?

apache is distributed with a sample log rotation script, rotatelogs:
http://httpd.apache.org/docs/2.2/programs/rotatelogs.html

and other options for log archiving are discussed in this bit of documentation:
http://httpd.apache.org/docs/2.2/logs.html#rotation

you might be interested in using cronolog:
http://cronolog.org/

hth
-sean

--
sean dreilinger - http://durak.org/sean/

Re: Apache automatic Archive of logs

am 17.01.2008 18:59:53 von Kees Nuyt

On Thu, 17 Jan 2008 08:58:58 -0800 (PST),
"tamasumalta@gmail.com" wrote:

>Hi,
>
>First of all I am new to apache and its configuration. I would like to
>know how I can configure my web server to automatically archive the
>log files and what are the options that I can use?
>
>Your help will be much appreciated.
>
>Thanks

Read:
http://httpd.apache.org/docs/2.2/logs.html#piped
http://httpd.apache.org/docs/2.2/programs/rotatelogs.html

If you want to ask more, please tell us what your problem
is with following the instructions in the manual, and tell
us your Operating System, its version and the Apache
version.
--
( Kees
)
c[_] Write documentation as if whoever reads it is a
violent psychopath who knows where you live. (Steve English) (#353)