|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
combing VH and main domain logs
Is it possible to write the logs for virtual hosts to the main logfile? I have over 100 virtual hosts on my machine and having to manage/clean them manually is becoming quite the time consuming task.
Any suggestions are appreciated, thanks. ![]() |
|
#2
|
|||
|
|||
|
Start here > http://httpd.apache.org/docs/logs.html and read the Virtual Hosts section.
It mentions "it is possible to log all requests in the same access log and error log. This technique does not allow for easy collection of statistics on individual virtual hosts" To compensate the difficulty of log parsing, you can setenv within each <VirtualHost> block and use that unique (say username assigned to that vhost) string to identify whatever lines belong to whatever appropriate vhost's access_log. |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > combing VH and main domain logs |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|