Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add human readable name of chain state to info message. #138

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions openarc/openarc.c
Original file line number Diff line number Diff line change
Expand Up @@ -3523,16 +3523,15 @@ mlfi_eom(SMFICTX *ctx)
break;
}

arc_set_cv(afc->mctx_arcmsg,
cv);

if (conf->conf_dolog)
{
syslog(LOG_INFO,
"%s: chain state forced to %d due to prior result found",
afc->mctx_jobid,
cv);
"%s: chain state forced to \"%s\" due to prior result found",
afc->mctx_jobid, arc_chain_str(afc->mctx_arcmsg));
}

arc_set_cv(afc->mctx_arcmsg,
cv);
}

arcf_dstring_printf(afc->mctx_tmpstr,
Expand Down