logging.server: use locals to make write-message more clear.