But, Keeping old is not through these logs as they are just printing UNKNOW instead of old state. Can you please change the description in that case.
Thanks -Nagu -----Original Message----- From: Hans Feldt [mailto:[email protected]] Sent: 19 December 2013 14:04 To: Nagendra Kumar Cc: Hans Nordebäck; Praveen Malviya; [email protected] Subject: Re: [PATCH 1 of 1] amfd: remove UNKNOWN word from saflog [#362] I am not sure (yet) that this patch fixes the problem. The intention of the log was to log the transition from old state to new state. Since old state is not stored I don't see how this can be achieved? /Hans On 12/17/2013 01:54 PM, Hans Nordebäck wrote: > ack, only reviewed. /R HansN > On 12/17/13 07:12, [email protected] wrote: >> osaf/services/saf/amf/amfd/siass.cc | 4 ++-- >> 1 files changed, 2 insertions(+), 2 deletions(-) >> >> >> diff --git a/osaf/services/saf/amf/amfd/siass.cc >> b/osaf/services/saf/amf/amfd/siass.cc >> --- a/osaf/services/saf/amf/amfd/siass.cc >> +++ b/osaf/services/saf/amf/amfd/siass.cc >> @@ -528,9 +528,9 @@ uint32_t avd_gen_su_ha_state_changed_ntf >> { >> uint32_t status = NCSCC_RC_FAILURE; >> - TRACE_ENTER2("'%s' assigned to '%s' HA state UNKNOWN => %s", >> susi->si->name.value, >> + TRACE_ENTER2("'%s' assigned to '%s' HA state '%s'", >> + susi->si->name.value, >> susi->su->name.value, avd_ha_state[susi->state]); >> - saflog(LOG_NOTICE, amfSvcUsrName, "%s assigned to %s HA State UNKNOWN >> => %s", >> + saflog(LOG_NOTICE, amfSvcUsrName, "%s assigned to %s HA State >> + '%s'", >> susi->si->name.value, susi->su->name.value, >> avd_ha_state[susi->state]); >> /* alarm & notifications */ > > > ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ Opensaf-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensaf-devel
