do not try to write access log when it is disabled