Don't create output log if log_level is 0.