I'm trying to get detailed logging messages from mod_rewrite for apache 2.4.
The apache manual tells me to add this to my virtual host config:
LogLevel alert rewrite:trace3
The post https://stackoverflow.com/a/17279058/671639 sugests
LogLevel rewrite:trace3
Unfortunately apache gives the same error message for both of them:
Syntax error on line 45 of /Applications/MAMP/conf/apache/extra/httpd-vhosts.conf:
LogLevel requires level keyword: one of emerg/alert/crit/error/warn/notice/info/debug
If I use LogLevel debug
, mod_rewrite isn't logging anything.
Any ideas?