Skip to content

Instantly share code, notes, and snippets.

@timemachine3030
Created June 19, 2011 20:13
Show Gist options
  • Save timemachine3030/1034685 to your computer and use it in GitHub Desktop.
Save timemachine3030/1034685 to your computer and use it in GitHub Desktop.
Max apache log information
# Log each type to a different file
# - Add to your .htaccess file
# - Remember to remove from production servers when done as it can be verbose.
ErrorLog /path/to/apache/writable/dir/of/logs/error.log
Loglevel debug
CustomLog /path/to/apache/writable/dir/of/logs/access.log combined
<IfModule mod_rewrite.c>
RewriteLog "/path/to/apache/writable/dir/of/logs/rewrite.log"
RewriteLogLevel 3
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment