[tickets] [opensaf:tickets] #3014 log: The value of logRecordDestinationConfiguration is not deleted in lgd
- **status**: review --> fixed - **assigned_to**: Canh Truong --> nobody - **Comment**: commit 89c579247b5b43122301b248433b319054178b58 (HEAD -> develop, origin/develop) Author: Canh Van Truong Date: Thu Feb 28 10:50:42 2019 +0700 log: fix last value of logRecordDestinationConfiguration is not deleted [#3014] When using the command "immcfg logConfig=1,safApp=safLogService -a logRecordDestinationConfiguration-=" If there is just one value in the multi attribute and we delete last one, the value will be deleted in imm database but it is not deleted in LGD. The patch update the attribute "logRecordDestinationConfiguration" = empty in lgd after the last value is deleted. --- ** [tickets:#3014] log: The value of logRecordDestinationConfiguration is not deleted in lgd** **Status:** fixed **Milestone:** 5.19.03 **Created:** Thu Feb 28, 2019 03:33 AM UTC by Canh Truong **Last Updated:** Fri Mar 01, 2019 10:36 AM UTC **Owner:** nobody After removing value "saLogSystem_dest;UNIX_SOCKET;/var/run/stream/CMW_saLogSystem.sock" from logRecordDestinationConfiguration of logConfig=1 successfully SC-2-1:~ # immlist logConfig=1,safApp=safLogService Name Type Value(s) logStreamSystemLowLimitSA_UINT32_T 100 (0x64) logStreamSystemHighLimit SA_UINT32_T 10500 (0x2904) logStreamFileFormatSA_STRING_T @Cr @CY-@Cm-@CdT@Ch:@Cn:@Cs.@Ck@Cz @Cp @Cq @Sl @Sv: "@Cb" logStreamAppLowLimit SA_UINT32_T 1000 (0x3e8) logStreamAppHighLimit SA_UINT32_T 52500 (0xcd14) logRootDirectory SA_STRING_T /storage/no-backup/coremw/var/log/saflog **logRecordDestinationConfiguration SA_STRING_T ** logMaxLogrecsize SA_UINT32_T 32767 (0x7fff) logMaxApplicationStreams SA_UINT32_T 64 (0x40) logFileSysConfig SA_UINT32_T 1 (0x1) logFileIoTimeout SA_UINT32_T 500 (0x1f4) logDataGroupname SA_STRING_T cmw-log-data logConfig SA_STRING_T logConfig=1 SaImmAttrImplementerName SA_STRING_T safLogService SaImmAttrClassName SA_STRING_T OpenSafLogConfig SaImmAttrAdminOwnerNameSA_STRING_T The runtime object logConfig=current was not updated accordingly SC-2-1:~ # immlist logConfig=currentConfig,safApp=safLogService Name Type Value(s) logStreamSystemLowLimitSA_UINT32_T 100 (0x64) logStreamSystemHighLimit SA_UINT32_T 10500 (0x2904) logStreamFileFormatSA_STRING_T @Cr @CY-@Cm-@CdT@Ch:@Cn:@Cs.@Ck@Cz @Cp @Cq @Sl @Sv: "@Cb" logStreamAppLowLimit SA_UINT32_T 1000 (0x3e8) logStreamAppHighLimit SA_UINT32_T 52500 (0xcd14) logRootDirectory SA_STRING_T /storage/no-backup/coremw/var/log/saflog logRecordDestinationStatus SA_STRING_T **logRecordDestinationConfiguration SA_STRING_T saLogSystem_dest;UNIX_SOCKET;/var/run/stream/CMW_saLogSystem.sock** logMaxLogrecsize SA_UINT32_T 32767 (0x7fff) logMaxApplicationStreams SA_UINT32_T 64 (0x40) logFileSysConfig SA_UINT32_T 1 (0x1) logFileIoTimeout SA_UINT32_T 500 (0x1f4) logDataGroupname SA_STRING_T cmw-log-data logConfig SA_STRING_T logConfig=currentConfig SaImmAttrImplementerName SA_STRING_T safLogService SaImmAttrClassName SA_STRING_T OpenSafLogCurrentConfig SaImmAttrAdminOwnerNameSA_STRING_T --- Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is subscribed to https://sourceforge.net/p/opensaf/tickets/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.___ Opensaf-tickets mailing list Opensaf-tickets@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-tickets
[tickets] [opensaf:tickets] #3014 log: The value of logRecordDestinationConfiguration is not deleted in lgd
- Description has changed: Diff: --- old +++ new @@ -1,4 +1,3 @@ - After removing value "saLogSystem_dest;UNIX_SOCKET;/var/run/stream/CMW_saLogSystem.sock" from logRecordDestinationConfiguration of logConfig=1 successfully SC-2-1:~ # immlist logConfig=1,safApp=safLogService - **status**: accepted --> review --- ** [tickets:#3014] log: The value of logRecordDestinationConfiguration is not deleted in lgd** **Status:** review **Milestone:** 5.19.03 **Created:** Thu Feb 28, 2019 03:33 AM UTC by Canh Truong **Last Updated:** Thu Feb 28, 2019 03:35 AM UTC **Owner:** Canh Truong After removing value "saLogSystem_dest;UNIX_SOCKET;/var/run/stream/CMW_saLogSystem.sock" from logRecordDestinationConfiguration of logConfig=1 successfully SC-2-1:~ # immlist logConfig=1,safApp=safLogService Name Type Value(s) logStreamSystemLowLimitSA_UINT32_T 100 (0x64) logStreamSystemHighLimit SA_UINT32_T 10500 (0x2904) logStreamFileFormatSA_STRING_T @Cr @CY-@Cm-@CdT@Ch:@Cn:@Cs.@Ck@Cz @Cp @Cq @Sl @Sv: "@Cb" logStreamAppLowLimit SA_UINT32_T 1000 (0x3e8) logStreamAppHighLimit SA_UINT32_T 52500 (0xcd14) logRootDirectory SA_STRING_T /storage/no-backup/coremw/var/log/saflog **logRecordDestinationConfiguration SA_STRING_T ** logMaxLogrecsize SA_UINT32_T 32767 (0x7fff) logMaxApplicationStreams SA_UINT32_T 64 (0x40) logFileSysConfig SA_UINT32_T 1 (0x1) logFileIoTimeout SA_UINT32_T 500 (0x1f4) logDataGroupname SA_STRING_T cmw-log-data logConfig SA_STRING_T logConfig=1 SaImmAttrImplementerName SA_STRING_T safLogService SaImmAttrClassName SA_STRING_T OpenSafLogConfig SaImmAttrAdminOwnerNameSA_STRING_T The runtime object logConfig=current was not updated accordingly SC-2-1:~ # immlist logConfig=currentConfig,safApp=safLogService Name Type Value(s) logStreamSystemLowLimitSA_UINT32_T 100 (0x64) logStreamSystemHighLimit SA_UINT32_T 10500 (0x2904) logStreamFileFormatSA_STRING_T @Cr @CY-@Cm-@CdT@Ch:@Cn:@Cs.@Ck@Cz @Cp @Cq @Sl @Sv: "@Cb" logStreamAppLowLimit SA_UINT32_T 1000 (0x3e8) logStreamAppHighLimit SA_UINT32_T 52500 (0xcd14) logRootDirectory SA_STRING_T /storage/no-backup/coremw/var/log/saflog logRecordDestinationStatus SA_STRING_T **logRecordDestinationConfiguration SA_STRING_T saLogSystem_dest;UNIX_SOCKET;/var/run/stream/CMW_saLogSystem.sock** logMaxLogrecsize SA_UINT32_T 32767 (0x7fff) logMaxApplicationStreams SA_UINT32_T 64 (0x40) logFileSysConfig SA_UINT32_T 1 (0x1) logFileIoTimeout SA_UINT32_T 500 (0x1f4) logDataGroupname SA_STRING_T cmw-log-data logConfig SA_STRING_T logConfig=currentConfig SaImmAttrImplementerName SA_STRING_T safLogService SaImmAttrClassName SA_STRING_T OpenSafLogCurrentConfig SaImmAttrAdminOwnerNameSA_STRING_T --- Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is subscribed to https://sourceforge.net/p/opensaf/tickets/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.___ Opensaf-tickets mailing list Opensaf-tickets@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-tickets
[tickets] [opensaf:tickets] #3014 log: The value of logRecordDestinationConfiguration is not deleted in lgd
--- ** [tickets:#3014] log: The value of logRecordDestinationConfiguration is not deleted in lgd** **Status:** accepted **Milestone:** 5.19.03 **Created:** Thu Feb 28, 2019 03:33 AM UTC by Canh Truong **Last Updated:** Thu Feb 28, 2019 03:33 AM UTC **Owner:** Canh Truong After removing value "saLogSystem_dest;UNIX_SOCKET;/var/run/stream/CMW_saLogSystem.sock" from logRecordDestinationConfiguration of logConfig=1 successfully SC-2-1:~ # immlist logConfig=1,safApp=safLogService Name Type Value(s) logStreamSystemLowLimitSA_UINT32_T 100 (0x64) logStreamSystemHighLimit SA_UINT32_T 10500 (0x2904) logStreamFileFormatSA_STRING_T @Cr @CY-@Cm-@CdT@Ch:@Cn:@Cs.@Ck@Cz @Cp @Cq @Sl @Sv: "@Cb" logStreamAppLowLimit SA_UINT32_T 1000 (0x3e8) logStreamAppHighLimit SA_UINT32_T 52500 (0xcd14) logRootDirectory SA_STRING_T /storage/no-backup/coremw/var/log/saflog logRecordDestinationConfiguration SA_STRING_T logMaxLogrecsize SA_UINT32_T 32767 (0x7fff) logMaxApplicationStreams SA_UINT32_T 64 (0x40) logFileSysConfig SA_UINT32_T 1 (0x1) logFileIoTimeout SA_UINT32_T 500 (0x1f4) logDataGroupname SA_STRING_T cmw-log-data logConfig SA_STRING_T logConfig=1 SaImmAttrImplementerName SA_STRING_T safLogService SaImmAttrClassName SA_STRING_T OpenSafLogConfig SaImmAttrAdminOwnerNameSA_STRING_T The runtime object logConfig=current was not updated accordingly SC-2-1:~ # immlist logConfig=currentConfig,safApp=safLogService Name Type Value(s) logStreamSystemLowLimitSA_UINT32_T 100 (0x64) logStreamSystemHighLimit SA_UINT32_T 10500 (0x2904) logStreamFileFormatSA_STRING_T @Cr @CY-@Cm-@CdT@Ch:@Cn:@Cs.@Ck@Cz @Cp @Cq @Sl @Sv: "@Cb" logStreamAppLowLimit SA_UINT32_T 1000 (0x3e8) logStreamAppHighLimit SA_UINT32_T 52500 (0xcd14) logRootDirectory SA_STRING_T /storage/no-backup/coremw/var/log/saflog logRecordDestinationStatus SA_STRING_T logRecordDestinationConfiguration SA_STRING_T saLogSystem_dest;UNIX_SOCKET;/var/run/stream/CMW_saLogSystem.sock logMaxLogrecsize SA_UINT32_T 32767 (0x7fff) logMaxApplicationStreams SA_UINT32_T 64 (0x40) logFileSysConfig SA_UINT32_T 1 (0x1) logFileIoTimeout SA_UINT32_T 500 (0x1f4) logDataGroupname SA_STRING_T cmw-log-data logConfig SA_STRING_T logConfig=currentConfig SaImmAttrImplementerName SA_STRING_T safLogService SaImmAttrClassName SA_STRING_T OpenSafLogCurrentConfig SaImmAttrAdminOwnerNameSA_STRING_T --- Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is subscribed to https://sourceforge.net/p/opensaf/tickets/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.___ Opensaf-tickets mailing list Opensaf-tickets@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-tickets