Disable logging if DEBUG is disabled