Menu

#2258 log: add alternative destinations of log records

5.2.FC
fixed
nobody
None
enhancement
log
d
major
2017-02-28
2017-01-11
No

The log service is as is dedicated to writing log records to file and this has so far been the only destination for log records. Several attributes in the configuration object and log stream objects are dedicated for configuration of this file handling. This is legacy.

Now, we introduce a generic way of handling alternative destinations of log records. Legacy handling of log records will not be changed.

Find more information in attachement.

1 Attachments

Related

Tickets: #2200
Tickets: #2258
Tickets: #2266
Tickets: #2580
Wiki: NEWS-5.2.0

Discussion

  • Anders Widell

    Anders Widell - 2017-01-12

    The PRI field of the message ought to be filled in with a severity taken from the SaLogSeverityT field in the SAF log message header, and some appropriate facility (probably 16 - "local use 0").

    The STRUCTURED-DATA field should countain a meta sequenceId parameter containing a sequence number of each message, so that it is possible to detect message loss.

    The MSGID should contain a hash of the log stream name.

     
  • Vu Minh Nguyen

    Vu Minh Nguyen - 2017-01-16
    • status: assigned --> accepted
     
  • elunlen

    elunlen - 2017-02-10

    An increment implementing support for the new configuration attributes 'logRecordDestinationConfiguration' and 'logRecordDestinationStatus' (only OpenSafLogCurrentConfig class) is sent for review by the community.
    Will be pushed separately when acked

     
  • Vu Minh Nguyen

    Vu Minh Nguyen - 2017-02-15
    • status: accepted --> review
     
  • Vu Minh Nguyen

    Vu Minh Nguyen - 2017-02-15

    I will submit Unit test & updated PR soon.

     
  • Vu Minh Nguyen

    Vu Minh Nguyen - 2017-02-16

    Has just summited Unit tests.

     
  • elunlen

    elunlen - 2017-02-23

    changeset: 8611:15ea36eab483
    tag: tip
    user: Lennart Lund lennart.lund@ericsson.com
    date: Thu Feb 23 12:46:32 2017 +0100
    summary: lgs: Add new multivalue attributes to configuration handler [#2258]

    rev: 15ea36eab4835ed048e4f1d28013d27888437d9b

     

    Related

    Tickets: #2258

  • Vu Minh Nguyen

    Vu Minh Nguyen - 2017-02-28
    • status: review --> fixed
    • assigned_to: Vu Minh Nguyen --> nobody
     
  • Vu Minh Nguyen

    Vu Minh Nguyen - 2017-02-28

    changeset: 8631:5e2c0a0cfdba
    tag: tip
    user: Vu Minh Nguyen vu.m.nguyen@dektech.com.au
    date: Thu Feb 16 17:22:13 2017 +0700
    summary: log: add unit tests to verify outer interfaces [#2258]

    changeset: 8630:972e56fc71ec
    user: Vu Minh Nguyen vu.m.nguyen@dektech.com.au
    date: Wed Feb 15 15:07:09 2017 +0700
    summary: log: add UML test case to verify alternative destination [#2258]

    changeset: 8629:532c51f8d297
    user: Vu Minh Nguyen vu.m.nguyen@dektech.com.au
    date: Thu Feb 23 14:37:32 2017 +0700
    summary: log: add alternative destinations of log records [#2258]

     

    Related

    Tickets: #2258


Log in to post a comment.