httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Poirier <>
Subject Re: [users@httpd] create errorlog folder
Date Mon, 27 Jul 2009 11:53:25 GMT
Jordi Moles <> writes:

> I'm sorry if this has been discussed before, but I've been looking
> through this list's archive and found nothing related to it.
> For some reason (I'm trying to find out), the path where the error_log
> file is kept gets deleted from time to time i some of the domains
> (each one has its own errorlog folder). After that, when i perform a
> configtest, apache doesn't complain, but when i run graceful, it stops
> working as to apache this is a major problem.
> So... i just would like to know if i can do something to avoid this
> from happening... may be can i set up apache so that a message like
> "errorlog file does not exist" appears in the configtest and not only
> in the graceful itself? may be can i make apache create that folder if
> it doesn't exist? may be can i make apache ignore that problem and
> consider it like a warning and not error?
> I know that apache is able to create a new error_log file if it
> doesn't find one and has the right privileges, but it fails to create
> the folder. I guess this is the normal and expected behaviour, i just
> need to know if i can make it behave as i need.

[Copying to dev@ list and setting reply-to there.]

I thought I'd seen this reported before but can't find a bugzilla entry
for it.  I'd suggest searching yourself, and if there isn't one,
creating an enhancement request in bugzilla
( so this doesn't get forgotten.

It seems worthwhile to me to check in configtest whether it looks as if
Apache will be able to create or write to the log files.  Apache already
tests whether things like ServerRoot and DocumentRoot exist during

I don't think it's possible to check this perfectly without actually
trying to open and write to the log file, which we wouldn't want to do
during configtest, but we can at least see if the directory exists, and
if it appears to be writeable.

Dan Poirier <>

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message