Fix incorrect log4j configuration for api/access logs

For #499