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

Hide
Christophe DENEUX added a comment - Wed, 1 Jun 2016 - 14:46:56 +0200

Caution to the performance impact. It must be equivalent.

Show
Christophe DENEUX added a comment - Wed, 1 Jun 2016 - 14:46:56 +0200 Caution to the performance impact. It must be equivalent.

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