You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "S.A. Birl" <sb...@temple.edu> on 2007/12/16 18:27:26 UTC

[users@httpd] rotatelogs with error_log

I have the following inside of a virtual host

---------
LogLevel        debug

CustomLog       "|/usr/local/apache/bin/rotatelogs /usr/local/apache/logs/publish1_access_%Y%m%d 86400 -300" common
ErrorLog        "|/usr/local/apache/bin/rotatelogs /usr/local/apache/logs/publish1_error__%Y%m%d 86400 -300"

<IfModule mod_rewrite.c>
        RewriteEngine   On
        RewriteLog      "|/usr/local/apache/bin/rotatelogs /usr/local/apache/logs/publish1_rewrite_%Y%m%d 86400 -300"
        RewriteLogLevel 2
</IfModule>
---------



I did a graceful and Apache created
  publish1_access_20071216
  publish1_rewrite_20071216

but keeps logging to error_log instead of publish1_error__20071216

Nothing in error_log to indicate an error.  What am I overlooking?


Thanks
 Birl

Please do not CC me responses to my own posts.
I'll read the responses on the list.

Archives   http://mail-archives.apache.org/mod_mbox/httpd-users/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] rotatelogs with error_log

Posted by "S.A. Birl" <sb...@temple.edu>.
On Dec 16, 2007, S.A. Birl (nospam-sbirl+Apache-List@temple.edu.ns) typed:

Birl:  ErrorLog        "|/usr/local/apache/bin/rotatelogs /usr/local/apache/logs/publish1_error__%Y%m%d 86400 -300"
Birl:
Birl:  I did a graceful and Apache created
Birl:    publish1_access_20071216
Birl:    publish1_rewrite_20071216
Birl:
Birl:  but keeps logging to error_log instead of publish1_error__20071216
Birl:
Birl:  Nothing in error_log to indicate an error.  What am I overlooking?



Created the file sometime later.  I guess Apache just needed something
to log.



Thanks
 Birl

Please do not CC me responses to my own posts.
I'll read the responses on the list.

Archives   http://mail-archives.apache.org/mod_mbox/httpd-users/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org