mod_log_sql 2.0 Documentation

Home » Projects » Apache » Mod_log_sql » Docs-2.0 » mod_log_sql 2.0 Documentation

Prev: A very basic logging setup in Apache --- Up: Configuration --- Next: How to tune logging with run-time directives

Testing the basic setup

  1. Visit your web site in a browser to trigger some hits, then confirm that the entries are being successfully logged:

    # mysql -hdbmachine.foo.com -umysqladmin -p -e "SELECT * FROM access_log" apachelogs
    Enter password:

    Several lines of output should follow, corresponding to your hits on the site. You now have basic functionality. Don't disable your regular Apache logs until you feel comfortable that the database is behaving as you'd like and that things are going well. If you do not see any entries in the access_log, please consult section of the FAQ on how to debug and fix the situation.

  2. You can now activate the advanced features of mod_log_sql, which are described in the next section.