NTF service is using LOG_WA() to log debug information in the ”write Log callback”.
If LOG service is busy for doing something, the callback will be invoked many times with error code SA_AIS_ERR_TRY_AGAIN
(6) and will make the syslog overflow with the same error message as below.
Nov 20 13:35:14 SC-1 osafntfd[5121]: WA Error when logging (6), queue for relogging
Nov 20 13:35:14 SC-1 osafntfd[5121]: WA Error when logging (6), queue for relogging
Nov 20 13:35:14 SC-1 osafntfd[5121]: WA Error when logging (6), queue for relogging
NTF should use TRACE() instead of LOG_WA to log this debug info.
I think it must be a defect. Is there any specific reason for raising it as enhancement?
The code does not cause any defect/error in term of NTF functionalities, than I thought it should be an enhancement.
changeset: 7179:f00e4b2470e2
branch: opensaf-4.6.x
user: praveen.malviya@oracle.com
date: Thu Dec 17 14:42:03 2015 +0530
summary: ntfd: fix syslog warning when queueing notification for relogging [1628]
changeset: 7180:67824b1eaeb7
branch: opensaf-4.7.x
parent: 7177:2ad01db11a92
user: praveen.malviya@oracle.com
date: Thu Dec 17 14:42:28 2015 +0530
summary: ntfd: fix syslog warning when queueing notification for relogging [1628]
changeset: 7181:ff4f4f5c68a6
tag: tip
parent: 7176:0ee74e9625ef
user: praveen.malviya@oracle.com
date: Thu Dec 17 14:42:47 2015 +0530
summary: ntfd: fix syslog warning when queueing notification for relogging [1628]