httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From manfred <...@tictric.net>
Subject Re: [users@httpd] Changing Log directory
Date Sun, 23 Nov 2003 16:43:18 GMT
> I need to change the log directory for my Apache web server.  I've set 
> up a
> separate drive with it's own controller to increase performance for my 
> logs,
> and have mounted it as /var/log.
>
> How can I properly change my /usr/local/apache/logs to that directory?  
> I've
> modified my 'config.layout' to change the 'logfiledir:' to the new log 
> path,
> but when I try to start up Apache:
>
> [Sun Nov 23 11:43:52 2003] [error] (2)No such file or directory: could 
> not
> open transfer log file /usr/local/apache/$/var/log/apache/access_log.
> Unable to open logs
>
> I have no idea why it still places the {prefix} into the path.  I even
> changed the runtimedir to use this location as well, just as a guess.  
> What
> did I do wrong?

Not much :-) You just need to study $yourapacheconfdir/httpd.conf
Maybe you read this too http://httpd.apache.org/docs/logs.html

>
> Huge thanks in advance!!
> Aaron

De nada

-- 
manfred

---------------------------------------------------------------------
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


Mime
View raw message