Menu

#1399 log: logsv gets stuck in a loop if passing zero(0) to maxFilesRotated

4.5.2
fixed
nobody
None
defect
log
-
major
2015-09-18
2015-07-02
No

When users open an application stream with maxFilesRotated is set to zero (0) or leave it to default value, logsv will get stuck in a while loop forever.

Related

Tickets: #1399
Wiki: ChangeLog-4.5.2
Wiki: ChangeLog-4.6.1

Discussion

  • elunlen

    elunlen - 2015-07-02

    It is not relevant to set maxFilesRotated to a zero value.
    This parameter must be validated in API and in server. If a stream with configurattion object is created (using IMM and the log OI) a validation must also be done. The rule shall be that the value > 0.
    Also the default value must be changed from 0 to a valid value. For the preconfigured streams the value is set to 4 so this could be a suitable default value for application streams as well.

     
  • Vu Minh Nguyen

    Vu Minh Nguyen - 2015-07-03
    • status: unassigned --> assigned
    • assigned_to: Vu Minh Nguyen
     
  • Vu Minh Nguyen

    Vu Minh Nguyen - 2015-07-03
    • status: assigned --> accepted
     
  • Anders Bjornerstedt

    • Type: defect --> enhancement
     
  • Vu Minh Nguyen

    Vu Minh Nguyen - 2015-07-16
    • Type: enhancement --> defect
    • Milestone: 5.0 --> 4.6.1
     
  • Vu Minh Nguyen

    Vu Minh Nguyen - 2015-07-16
    • Milestone: 4.6.1 --> 4.5.2
     
  • elunlen

    elunlen - 2015-08-03
    • summary: logsv: logsv gets stuck in a loop if passing zero(0) to maxFilesRotated --> log: logsv gets stuck in a loop if passing zero(0) to maxFilesRotated
     
  • elunlen

    elunlen - 2015-08-27

    Note: When creating an application stream with a configuration object this value is validated value > 0
    See [#448]. Value is not checked in API when creating an application stream with runtime object

     

    Related

    Tickets: #448

  • Vu Minh Nguyen

    Vu Minh Nguyen - 2015-09-16
    • status: accepted --> review
     
  • elunlen

    elunlen - 2015-09-18
    • status: review --> fixed
    • assigned_to: Vu Minh Nguyen --> nobody
     
  • elunlen

    elunlen - 2015-09-18

    changeset: 6855:9febfe363577
    tag: tip
    parent: 6852:c2cb70c2e0d6
    user: Vu Minh Nguyen vu.m.nguyen@dektech.com.au
    date: Fri Sep 18 02:32:21 2015 +0100
    summary: logsv: fix logsv gets stuck in a loop if passing zero(0) to maxFilesRotated [#1399]

    rev: 9febfe363577ea5ce56d2975065c641d1174807c

    changeset: 6854:d2c027f76541
    branch: opensaf-4.6.x
    parent: 6851:b0b8ac13e307
    user: Vu Minh Nguyen vu.m.nguyen@dektech.com.au
    date: Fri Sep 18 02:32:21 2015 +0100
    summary: logsv: fix logsv gets stuck in a loop if passing zero(0) to maxFilesRotated [#1399]

    rev: d2c027f765414bdc5d3529198607531f59a0e4a2

    changeset: 6853:0cea38c71001
    branch: opensaf-4.5.x
    parent: 6850:14d148411636
    user: Vu Minh Nguyen vu.m.nguyen@dektech.com.au
    date: Fri Sep 18 02:32:21 2015 +0100
    summary: logsv: fix logsv gets stuck in a loop if passing zero(0) to maxFilesRotated [#1399]

    rev: 0cea38c71001feea617324b0d5ed2c8bdb094f7b

     

    Related

    Tickets: #1399


Log in to post a comment.