Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
XP is just a number
 
PerlMonks  

Re^2: How to create an error log file?

by Miguel (Friar)
on Apr 07, 2005 at 12:08 UTC ( #445620=note: print w/ replies, xml ) Need Help??


in reply to Re: How to create an error log file?
in thread How to create an error log file?

On linux, the apache error log is found in dir /var/log/httpd/.

I'm using Linux (Slackware) and the (main) error log is in /var/log/apache2/error_log.

The sysadmin can put that directory where ever he/she wants.

On the other hand, foreach site I always create a dedicated /logs dir under the site directory (not a public directory). This way I don't fill up the main error_log and makes it easier to follow errors on the web site I'm currently working.

I do this when I configure a new site on Apache:

<VirtualHost ....> ...... ErrorLog /path/to/website/error_log .... </VirtualHost>


Comment on Re^2: How to create an error log file?
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://445620]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2014-04-20 13:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls