log_access() moved to log.c