use of log_output should be log_ok