Menu

#2306 osaf: Create a node-local OpenSAF log to avoid spamming syslog

5.18.06
fixed
None
enhancement
osaf
-
major
False
2018-06-28
2017-02-14
No

There is a concern that OpenSAF is currently mis-using syslog by logging too much during normal operation. Syslog is shared by everything running on the node, and OpenSAF can easily become the dominant logger of syslog messages, even though OpenSAF is not really the essential part of the whole system (OpenSAF is there just to maintain HA - it is not there to provide any service to users).

The expectation is that OpenSAF should log errors to syslog, as well as notifications during unusual situations. However, OpenSAF should not log anything to syslog during normal system operation.

The proposal is to introduce a new log file under /var/log/opensaf/, and to move some of the log messages that OpenSAF currently logs to syslog into this new log file.

Related

Wiki: ChangeLog-5.18.06
Wiki: NEWS-5.18.06

Discussion

  • Anders Widell

    Anders Widell - 2017-04-03
    • Milestone: next --> future
     
  • Minh Hon Chau

    Minh Hon Chau - 2018-03-25
    • status: unassigned --> accepted
    • assigned_to: Minh Hon Chau
    • Blocker: --> False
     
  • Minh Hon Chau

    Minh Hon Chau - 2018-04-11
    • status: accepted --> review
     
  • Minh Hon Chau

    Minh Hon Chau - 2018-04-21
    • status: review --> fixed
    • Milestone: future --> 5.18.04
     
  • Minh Hon Chau

    Minh Hon Chau - 2018-04-21

    [develop]
    commit d3790b4d2ec9ba0e425ecaeaad51cd6a921186e2
    Author: Minh Chau minh.chau@dektech.com.au
    Date: Fri Apr 20 23:38:51 2018 +1000

    base: Add OSAF_LOCAL_NODE_LOG environment variable to osaf service conf file [#2306]
    

    commit 34e61433f362ed4a3b1054f42e8d8fdc6c40c4a0
    Author: Minh Chau minh.chau@dektech.com.au
    Date: Fri Apr 20 23:38:51 2018 +1000

    base: Add support to direct OpenSAF logging to local node file V3 [#2306]
    
     
  • Minh Hon Chau

    Minh Hon Chau - 2018-04-22
    • Milestone: 5.18.04 --> future
     
  • Gary Lee

    Gary Lee - 2018-06-28
    • Milestone: future --> 5.18.06
     

Log in to post a comment.