Skip to content

Instantly share code, notes, and snippets.

@apinstein
Created July 14, 2011 20:50
Show Gist options
  • Save apinstein/1083411 to your computer and use it in GitHub Desktop.
Save apinstein/1083411 to your computer and use it in GitHub Desktop.
Apache directives to log some requests w/performance info
# debug performance stuff
SetEnvIf Request_URI ^/panel panel-request
LogFormat "%h %l %u %t %T \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" debug_performance
CustomLog /Users/alanpinstein/dev/sandbox/virtualtour/log/debug_performance_log debug_performance env=panel-request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment