Menu

#2072 log: examples is not correct in OpenSAF_LOGSv_PR.odt document

4.7.2
duplicate
nobody
None
defect
log
doc
major
2017-03-06
2016-09-27
Canh Truong
No

The example is not correct in OpenSAF_LOGSv_PR.odt :

    saflogger -a safLgStrCfg=Test -f testLogFile "Hello world"

Will make an application stream named “safLgStrCfg=Test” and send “Hello world” logbuffer to the log file name “testLogFile”.

root@SC-1:~# saflogger -a safLgStrCfg=Test -f testLogFile "Hello world"
saLogStreamOpen_2 FAILED: SA_AIS_ERR_INVALID_PARAM (7)

The RDN of runtime stream is "safLgStr=". So we use "safLgStr=...instead of "safLgStrCfg=..." in command saflogger.

Related

Tickets: #2200

Discussion

  • Canh Truong

    Canh Truong - 2016-10-03
    • status: unassigned --> accepted
    • assigned_to: Canh Truong
     
  • Canh Truong

    Canh Truong - 2016-10-03
    • status: accepted --> unassigned
     
  • Vu Minh Nguyen

    Vu Minh Nguyen - 2017-03-06
    • status: unassigned --> duplicate
    • assigned_to: Canh Truong --> nobody
     
  • Vu Minh Nguyen

    Vu Minh Nguyen - 2017-03-06

    The info will be updated in [#2200]. Change the status to duplicated to avoid confusion.

     

    Related

    Tickets: #2200


Log in to post a comment.