httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject [users@httpd] RE:[users@httpd] huge mod_jk.log
Date Tue, 21 Feb 2006 09:08:22 GMT

>I got mod_jk working, hurrah, however I am serving
>large files and the mod_jk.log file is huge.  When it
>is over about 100MB Apache will not start up.  Clear
>out the file and it starts fine.
>How do I configure Apache to log as tersely as
>possible to mod_jk.log?

You can use rotatelogs
This works for JkLogFile too

JkLogFile     "|/path/to/apache/bin/rotatelogs /path/to/apache/logs/mod_jk.log.%Y-%m-%d-%H_%M_%S
The rotation is here  after 10 MB with a timestamp of mod_jk.log.2006-02-23-12_00_00. 

If you are using 2.2 you can use mod_proxy_ajp


View raw message