LogFormat apache 2.4 not work

Solution 1:

I found that using the nickname combined doesn't work since it is already taken. So this works:

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" %D"myawesomeformat

CustomLog ${APACHE_LOG_DIR}/access.logmyawesomeformat