Petals ESB Container

Make logging format configurable in the loggers.properties file

Details

  • Type: Improvement Request Improvement Request
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 5.0.1
  • Fix Version/s: 5.0.2
  • Component/s: Logging
  • Security Level: Public
  • Description:
    Hide

    Currently the format of the logging file is hard-coded in the LogDataFormatter provided by Petals.

    But it should be possible, in the same manner as Java's SimpleFormatter, to have it customizable in the loggers.properties file.

    The extra log parameters (extracted by the LogDataFormatter) will be considered as part of the log message (postfix).
    The container name (extracted by the LogDataFormatter) will prefix the complete log message.

    Default configuration will be exactly equivalent as before.

    Show
    Currently the format of the logging file is hard-coded in the LogDataFormatter provided by Petals. But it should be possible, in the same manner as Java's SimpleFormatter, to have it customizable in the loggers.properties file. The extra log parameters (extracted by the LogDataFormatter) will be considered as part of the log message (postfix). The container name (extracted by the LogDataFormatter) will prefix the complete log message. Default configuration will be exactly equivalent as before.
  • Environment:
    -

Activity

Victor NOËL made changes - Wed, 1 Jun 2016 - 14:18:29 +0200
Field Original Value New Value
Status New [ 10000 ] Open [ 10002 ]
Priority Major [ 3 ]
Assignee Christophe DENEUX [ cdeneux ] Victor NOËL [ vnoel ]
Component/s Logging [ 10255 ]
Victor NOËL made changes - Wed, 1 Jun 2016 - 14:18:33 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Victor NOËL made changes - Wed, 1 Jun 2016 - 14:21:45 +0200
Summary Make logging format configurable in the logging.properties file Make logging format configurable in the loggers.properties file
Description Currently the format of the logging file is hard-coded in the LogDataFormatter provided by Petals.

But it should be possible, in the same manner as Java's SimpleFormatter, to have it customizable in the logging.properties file.

The extra log parameters (extracted by the LogDataFormatter) will be considered as part of the log message (postfix).
The container name (extracted by the LogDataFormatter) will prefix the complete log message.

Default configuration will be exactly equivalent as before.
Currently the format of the logging file is hard-coded in the LogDataFormatter provided by Petals.

But it should be possible, in the same manner as Java's SimpleFormatter, to have it customizable in the loggers.properties file.

The extra log parameters (extracted by the LogDataFormatter) will be considered as part of the log message (postfix).
The container name (extracted by the LogDataFormatter) will prefix the complete log message.

Default configuration will be exactly equivalent as before.
Victor NOËL made changes - Thu, 2 Jun 2016 - 14:13:26 +0200
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 5.0.2 [ 10661 ]
Resolution Fixed [ 1 ]

People

Dates

  • Created:
    Wed, 1 Jun 2016 - 14:18:16 +0200
    Updated:
    Thu, 2 Jun 2016 - 14:13:26 +0200
    Resolved:
    Thu, 2 Jun 2016 - 14:13:25 +0200