Menu

#857 LOG: not possibility to specify a log record size of 0 for app streams

4.3.3
fixed
None
defect
log
d
4.3
major
2014-04-25
2014-04-15
Hans Feldt
No

In the LOG library lga this is checked and returned as an INVALID_PARAMETER. The server side allows this for the fixed streams. Should be just a matter of removing the check in the library.

Related

Tickets: #857
Wiki: ChangeLog-4.3.3
Wiki: ChangeLog-4.4.1

Discussion

  • Hans Feldt

    Hans Feldt - 2014-04-15
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1 @@
    -In the LOG library lga this is checked and returned as an INVALID_PARAMETER
    +In the LOG library lga this is checked and returned as an INVALID_PARAMETER. The server side allows this for the fixed streams. Should be just a matter of removing the check in the library.
    
     
  • Mathi Naickan

    Mathi Naickan - 2014-04-16
    • status: unassigned --> assigned
    • assigned_to: Mathi Naickan
    • Part: - --> d
    • Milestone: future --> 4.3.3
     
  • Mathi Naickan

    Mathi Naickan - 2014-04-16

    Just tested a patch, it does works the same way as standard streams for zero sized record.

     
  • Mathi Naickan

    Mathi Naickan - 2014-04-18

    This patch is working.

     
  • Mathi Naickan

    Mathi Naickan - 2014-04-21
    • status: assigned --> review
     
  • Mathi Naickan

    Mathi Naickan - 2014-04-25
    • status: review --> fixed
     
  • Mathi Naickan

    Mathi Naickan - 2014-04-25

    Updated documentation in the following changeset:

    [staging:522d96]
    [staging:8b6ab3]
    [staging:09ba3a]

    Added the following note in section 2.2.3, compliance report:

    Note: The OpenSAF LOG service allows writing zero sized log records. A call to saLogStreamOpen_2() with the attribute SaLogFileCreateAttributesT_2.maxLogRecordSize set to 0 will succeed.

    Updated section 3.2.1 saflogger, as below:

        saflogger -a myApp
    

    Will make one application stream named “myApp” with empty message. i.e. zero sized log record.

    changeset: 102:522d968ac27d
    branch: opensaf-4.4.x
    user: Mathivanan N.P.mathi.naickan@oracle.com
    date: Fri Apr 25 19:24:35 2014 -0400
    summary: log: added note for supporting zero sized log records [#857]

    changeset: 103:8b6ab33b700f
    branch: opensaf-4.3.x
    parent: 94:df34e5be0f19
    user: Mathivanan N.P.mathi.naickan@oracle.com
    date: Fri Apr 25 19:53:32 2014 -0400
    summary: log: added note for supporting zero sized log records [#857]

    changeset: 104:09ba3a2ec82c
    tag: tip
    parent: 92:1d225bfa1e31
    user: Mathivanan N.P.mathi.naickan@oracle.com
    date: Fri Apr 25 19:55:49 2014 -0400
    summary: log: added note for supporting zero sized log records [#857]

     

    Related

    Tickets: #857


Log in to post a comment.