access_log not being updated?

Web hosting discussion, programming, and shared and dedicated servers.
2 posts Page 1 of 1
by duigou » Sat Oct 26, 2013 2:23 pm
I am attempting to use mod_rewrite in an htaccess file for my personal web hosting but it doesn't seem to be working right. I wanted to check what was happening in the logs but looking at /var/log/httpd/duigou/sonic.net/access_log it seems to be stale and about 8 hours old. None of my requests show up in the log though I have definitely been working with URLs in my personal web hosting site.

Is the access log not continuously updated? Is there a "live" log I can look at of either accesses or (better still) the rewrite module?
by joemuller » Tue Oct 29, 2013 11:14 am
You are correct - the access logs are not updated in real-time.

If you do need faster logging, you can try overriding mod_rewrite (via .htaccess) to write to a separate file:
http://httpd.apache.org/docs/2.2/mod/mo ... rewritelog
I'm a proud employee of Sonic.net! :-)
2 posts Page 1 of 1