- Description has changed:
Diff:
~~~~
--- old
+++ new
@@ -14,7 +14,7 @@
-> it's helpful to know which msg is failed to sent out, so we can know which
msg is missing at amfd
...
-As the logging is informative, it could help debugging in running system where
the fault sometimes could not be reproduced, or we can identify the fault
straight away without tracing enquiries
+As the logging is informative, it could help debugging in running system where
the fault sometimes could not be reproduced (so there would not be trace file
in next fault reproduction), or we can identify the fault straight away without
tracing enquiries
This ticket will scan through amfd/amfnd file by file and add more information
in error/waring cases. It's started at 5.1 FC and could be continued in next
releases. Some rules:
1. Log must tell the object that error happens on
~~~~
---
** [tickets:#1918] AMF: Informative logging**
**Status:** unassigned
**Milestone:** 5.1.FC
**Created:** Fri Jul 15, 2016 11:30 AM UTC by Minh Hon Chau
**Last Updated:** Fri Jul 15, 2016 11:30 AM UTC
**Owner:** nobody
Some error/warning logging in AMF currently does not give enough information
about unexpected situation.
For example:
1- LOG_ER("%s: invalid node state %u", __FUNCTION__, node->node_state);
-> it should tell which node name/id is in invalid state
2- LOG_ER("Wrong sg fsm state %u", su->sg_of_su->sg_fsm_state);
-> it should tell the sg name is in wrong fsm state
3- LOG_ER("Invalid node_name. Check node_id");
-> it should tell the node name in msg that amfd can not find
4- LOG_ER("Internal error, could not send message to avnd");
-> it should tell at least node id of which avnd that msg can not be sent to
5- LOG_ER("%s: no susis", __FUNCTION__);
-> which su has no susis
6- LOG_ER("avnd_di_msg_send FAILED");
-> it's helpful to know which msg is failed to sent out, so we can know which
msg is missing at amfd
...
As the logging is informative, it could help debugging in running system where
the fault sometimes could not be reproduced (so there would not be trace file
in next fault reproduction), or we can identify the fault straight away without
tracing enquiries
This ticket will scan through amfd/amfnd file by file and add more information
in error/waring cases. It's started at 5.1 FC and could be continued in next
releases. Some rules:
1. Log must tell the object that error happens on
2. Log must give error code if it fails at checking return code
3. When failed to send msg, log the msg type and object that msg carries (if
any)
4. ...
---
Sent from sourceforge.net because [email protected] 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.------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets