summaryrefslogtreecommitdiffstats
path: root/src/usr/initservice
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2018-08-10 15:42:08 -0500
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2018-08-31 14:54:21 -0500
commitee83b4d3b2e3ddee421fde2fc01985f91bb98f28 (patch)
tree44e74834088465219f9e54cf95bac2f8a6b0264a /src/usr/initservice
parent1e8f52d2d75ad387d85c36f588e8f0f916960880 (diff)
downloadtalos-hostboot-ee83b4d3b2e3ddee421fde2fc01985f91bb98f28.tar.gz
talos-hostboot-ee83b4d3b2e3ddee421fde2fc01985f91bb98f28.zip
Keep original istep error log during reconfig loops
The original istep log may contain useful information that we don't have in the reconfig log. Instead of deleting it, just commit it as INFO. Change-Id: I7cd031997665d70227579b22701ed063d4f81bb5 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/64275 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Marshall J. Wilks <mjwilks@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/usr/initservice')
-rw-r--r--src/usr/initservice/istepdispatcher/istepdispatcher.C6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/usr/initservice/istepdispatcher/istepdispatcher.C b/src/usr/initservice/istepdispatcher/istepdispatcher.C
index ec71a59cd..a0ca4d4c7 100644
--- a/src/usr/initservice/istepdispatcher/istepdispatcher.C
+++ b/src/usr/initservice/istepdispatcher/istepdispatcher.C
@@ -597,7 +597,11 @@ errlHndl_t IStepDispatcher::executeAllISteps()
// be replaced by the ReconfigLoop info error with the
// same plid that matches the real errors
l_plid = err->plid();
- delete err;
+
+ // Commit the istep log as informational since it
+ // might include some useful information
+ err->setSev(ERRORLOG::ERRL_SEV_INFORMATIONAL);
+ errlCommit(err, INITSVC_COMP_ID);
err = NULL;
}
OpenPOWER on IntegriCloud