handle access log logging as well