Fix static_log_flag in the log_module.
s/fprintf(stderr/log_msg(LOG_ERR/