Ack. Thanks -Nagu
> -----Original Message----- > From: Hans Feldt [mailto:[email protected]] > Sent: 12 May 2014 15:25 > To: [email protected] > Cc: [email protected] > Subject: [devel] [PATCH 1 of 1] amfd: add saflog for admin op response [#817] > > osaf/services/saf/amf/amfd/imm.cc | 11 +++++++---- > 1 files changed, 7 insertions(+), 4 deletions(-) > > > diff --git a/osaf/services/saf/amf/amfd/imm.cc > b/osaf/services/saf/amf/amfd/imm.cc > --- a/osaf/services/saf/amf/amfd/imm.cc > +++ b/osaf/services/saf/amf/amfd/imm.cc > @@ -218,12 +218,15 @@ AvdJobDequeueResultT ImmAdminResponse::e > SaAisErrorT rc; > AvdJobDequeueResultT res; > > - TRACE_ENTER2("Admin resp inv:%llu res:%u", this->invocation_, this- > >result_); > + TRACE_ENTER2("Admin resp inv:%llu res:%u", invocation_, result_); > > - rc = saImmOiAdminOperationResult(handle, this->invocation_, this- > >result_); > + rc = saImmOiAdminOperationResult(handle, invocation_, result_); > > switch (rc) { > case SA_AIS_OK: > + saflog(LOG_NOTICE, amfSvcUsrName, > + "Admin op done for invocation: %llu, result %u", > + invocation_, result_); > delete Fifo::dequeue(); > res = JOB_EXECUTED; > break; > @@ -237,9 +240,9 @@ AvdJobDequeueResultT ImmAdminResponse::e > TRACE("BADHANDLE"); > avd_imm_reinit_bg(); > default: > + LOG_ER("saImmOiAdminOperationResult failed with %u for > admin op " > + "invocation: %llu, result %u", rc, invocation_, > result_); > delete Fifo::dequeue(); > - LOG_ER("Admin op failed for invocation: %llu, result %u", > - this->invocation_, this->result_); > res = JOB_ERR; > break; > } > > ------------------------------------------------------------------------------ > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > Instantly run your Selenium tests across 300+ browser/OS combos. > Get unparalleled scalability from the best Selenium testing platform available > Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs > _______________________________________________ > Opensaf-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/opensaf-devel ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Opensaf-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensaf-devel
