---
** [tickets:#661] logsv test: Add more features to saflogtest tool**
**Status:** accepted
**Created:** Mon Dec 16, 2013 01:41 PM UTC by elunlen
**Last Updated:** Mon Dec 16, 2013 01:41 PM UTC
**Owner:** elunlen
Add new options making it possible to do some more tests.
* Make it possible to open more than one stream at the same time.
(Simplification, only appliction streams and not in combination with other
streams)
E.g. makes it possible to test closing several streams at once when testing
finalize, client
down etc.
* Stop and wait so that the client don't disappear and streams stay open
E.g. makes it possible to test writing to re-opened application streams
* Exit without closing streams and finalize.
Makes it possible to test 'client down'
The enhanced option list
-h or --help this help
-k or --ack do not wait for ack after write, default wait
-l or --alarm write to alarm stream
-n or --notification write to notification stream
-y or --system write to system stream (default)
-a NAME or --application=NAME write to application stream NAME
Can be used more than once, more than one stream can be opened
Cannot be used in combination with other streams
Max 4 application streams can be created
Example: > saflogtest -a tst1 "tst1 msg" -a tst2 -a tst3 "tst3 msg"
-b NAME or --capplication=NAME write to config application stream NAME
-s SEV or --severity=SEV use severity SEV, default INFO
valid severity names: emerg, alert, crit, error, warn, notice, info
-i INT or --interval=INT write with interval INT us (only with --count,
default 0us)
-c CNT or --count=CNT write CNT number of times, -1 forever (with
interval INT)
-o Open log stream(s) and wait forever. Exit on any key
-e Exit without closing stream(s) or finalizing after log records are written
---
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.------------------------------------------------------------------------------
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-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets