definitions required even if logging is disabled