Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using name based Virtual hosting on an apache server on Ubuntu 10.0.4

Here is a snippet of one of my sites (in /etc/apache/sites-enabled)

<VirtualHost *:80>
   DocumentRoot /var/www/example

   # CustomLog with format nickname
   LogFormat "%h %l %u %t \"%r\" %>s %b" common
   CustomLog "|/usr/bin/cronolog /var/log/apache2/%Y%m.example.access.log" common

   LogLevel notice
   ErrorLog "|/usr/bin/cronolog /var/log/apache2/%Y%m.example.errors.log"


The access log file is being created in the correct location (with the correct name), but I find that errors are still being logged to /var/log/apache2/error.log

Why is that?

share|improve this question
<VirttualHost *:80> is a typo? – Pekka 웃 Apr 2 '11 at 12:59
Are you 100% sure there is no other ErrorLog directive in any of the conf files? The default ErrorLog might interfere with this, I'm not sure. – Pekka 웃 Apr 2 '11 at 12:59

You must log in to answer this question.

Browse other questions tagged .