- **status**: accepted --> review


---

** [tickets:#1660] ntf: ntf server truncates additionalText while logging 
notification.**

**Status:** review
**Milestone:** 4.6.2
**Created:** Fri Jan 08, 2016 06:06 AM UTC by Praveen
**Last Updated:** Fri Jan 08, 2016 06:07 AM UTC
**Owner:** Praveen


Ntf server truncates additionalText to 1024 while logging notification if 
additionalText is greater than 1024.

Steps to reproduce:
1) In imm.xml increase value of attribute logMaxLogrecsize in calss SA_CONFIG 
to 1500. Also
   increase saLogStreamFixedLogRecordSize for 
>safLgStrCfg=saLogAlarm,safApp=safLogService to more than 1024.
2) Subscribe for notification using ntfsubscribe. 
3) Run below command to send a notification with additionalText greater than 
1024.
 ntfsend -a "`for i in {1..1300}; do a=$a"1"; done;echo $a`"
 
 Logged notification in //var/log/opensaf/saflog/saLogAlarm_20160108_112757.log 
file will have additionalText with length1024 .
Reason is NTF server, while saflogging, truncates additionalText to 1024 if it 
is greater than 1024. There is not such restrictions for delievering it to any 
subscriber.




---

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.
------------------------------------------------------------------------------
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to