doesn't seem to like using @logger, reverted to using server.logger