osaf/tools/saflog/saflogger/saf_logger.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


The runtime app stream name must start with "safLgStr=", not "safLgStrCfg=".
So, creating app stream name with "safLgStrCfg=" will result 
"SA_AIS_ERR_INVALID_PARAM".

diff --git a/osaf/tools/saflog/saflogger/saf_logger.c 
b/osaf/tools/saflog/saflogger/saf_logger.c
--- a/osaf/tools/saflog/saflogger/saf_logger.c
+++ b/osaf/tools/saflog/saflogger/saf_logger.c
@@ -101,12 +101,12 @@ static void usage(void)
        printf("\t-s SEV or --severity=SEV       use severity SEV, default 
INFO\n");
        printf("\t\tvalid severity names: emerg, alert, crit, error, warn, 
notice, info\n");
        printf("\nNOTES\n");
-       printf("\t1) -f is only applicable for app stream.\n");
+       printf("\t1) -f is only applicable for runtime app stream.\n");
        printf("\t1) <FILENAME> length must not be longer than 255 
characters.\n");
 
        printf("\nEXAMPLES\n");
-       printf("\tsaflogger -a safLgStrCfg=Test \"Hello world\"\n");
-       printf("\tsaflogger -a safLgStrCfg=Test -f testLogFile \"Hello 
world\"\n");
+       printf("\tsaflogger -a safLgStr=Test \"Hello world\"\n");
+       printf("\tsaflogger -a safLgStr=Test -f testLogFile \"Hello world\"\n");
        printf("\tsaflogger -s crit \"I am going down\"\n\n");
 }
 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-devel mailing list
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to