2

Using recent Apache on Linux.

It's inconvenient to have the two different kinds of requests sent to two different log files since I like to watch the log file scroll by live via the shell. I also use less a lot.

Also, is there a reason why logging should not be combined?

2
  • 2
    tail can be used on multiple log files "tail -f /var/log/file1 /var/log/file2" or with a wildcard "tail -f /var/log/apache/*.log". Take a look at the apache docs on log for making changes to the loggin conf: httpd.apache.org/docs/2.2/logs.html Jan 21, 2014 at 15:14
  • Thanks, I didn't know that. But, I also use less a lot.
    – AlJo
    Jan 21, 2014 at 15:35

1 Answer 1

2

Change your log line in your config file to have the same log file. There are no reasons that I ever found.

I.e.:

CustomLog logs/access_log common

in both config file.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .