Petals ESB CLI

Add support of Java Logging

Details

  • Type: Improvement Request Improvement Request
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 2.0.0
  • Fix Version/s: 2.1.0
  • Component/s: Command interpretor
  • Security Level: Public
  • Description:
    Hide

    To be able to get log trace of the Petals CLI software components, add a support of the configuration of Java Logging adapted to the Petals CLI output:

    • all traces are printed as following: <LEVEL>: <message>
    • the level SEVERE is printed as 'ERROR' (to be compliant with existing error messages,
    • other levels are internationally printed,
    • by default, only levels SEVERE and WARNING are printed.

    The default configuration will be JAR-embedded, and can be overridden through the property 'java.util.logging.config.file'

    A sample configuration is provided into the file '$PETALS_CLI_HOME/conf/petals-cli-logging-sample.properties'.

    Show
    To be able to get log trace of the Petals CLI software components, add a support of the configuration of Java Logging adapted to the Petals CLI output:
    • all traces are printed as following: <LEVEL>: <message>
    • the level SEVERE is printed as 'ERROR' (to be compliant with existing error messages,
    • other levels are internationally printed,
    • by default, only levels SEVERE and WARNING are printed.
    The default configuration will be JAR-embedded, and can be overridden through the property 'java.util.logging.config.file' A sample configuration is provided into the file '$PETALS_CLI_HOME/conf/petals-cli-logging-sample.properties'.
  • Environment:
    -

Issue Links

Activity

Christophe DENEUX made changes - Fri, 21 Sep 2012 - 14:25:27 +0200
Field Original Value New Value
Status New [ 10000 ] Open [ 10002 ]
Priority Minor [ 4 ]
Component/s UI [ 10241 ]
Christophe DENEUX made changes - Fri, 21 Sep 2012 - 14:25:34 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Christophe DENEUX made changes - Fri, 21 Sep 2012 - 16:31:26 +0200
Description To be able to get log trace of the Petals CLI software components, add a support of the configuration of Java Logging adapted to the Petals CLI output:
* all traces are printed as following: {{<LEVEL>: <message>}}
* the level {{SEVERE}} is printed as '{{ERROR}}' (to be compliant with existing error messages,
* other levels are internationally printed,
* by default, only levels {{SEVERE}} and {{WARNING}} are printed.

The default configuration will be JAR-embedded, and can be overridden through the property '{{java.util.logging.config.file}}'
To be able to get log trace of the Petals CLI software components, add a support of the configuration of Java Logging adapted to the Petals CLI output:
* all traces are printed as following: {{<LEVEL>: <message>}}
* the level {{SEVERE}} is printed as '{{ERROR}}' (to be compliant with existing error messages,
* other levels are internationally printed,
* by default, only levels {{SEVERE}} and {{WARNING}} are printed.

The default configuration will be JAR-embedded, and can be overridden through the property '{{java.util.logging.config.file}}'

A sample configuration is provided into the file '{{$PETALS_CLI_HOME/conf/petals-cli-logging-sample.properties}}'.
Hide
Christophe DENEUX added a comment - Fri, 21 Sep 2012 - 16:40:02 +0200

Fixed in trunk.
User documentation updated

Show
Christophe DENEUX added a comment - Fri, 21 Sep 2012 - 16:40:02 +0200 Fixed in trunk. User documentation updated
Christophe DENEUX made changes - Fri, 21 Sep 2012 - 16:40:02 +0200
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 2.1.0 [ 10365 ]
Resolution Fixed [ 1 ]
Christophe DENEUX made changes - Fri, 21 Sep 2012 - 16:41:08 +0200
Link This issue blocks PETALSESBCLI-46 [ PETALSESBCLI-46 ]
Christophe DENEUX made changes - Mon, 5 May 2014 - 11:53:08 +0200
Component/s Command interpretor [ 10311 ]
Component/s UI [ 10241 ]
Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
1m 56s
1
Christophe DENEUX
Fri, 21 Sep 2012 - 14:25:27 +0200
Open Open In Progress In Progress
7s
1
Christophe DENEUX
Fri, 21 Sep 2012 - 14:25:34 +0200
In Progress In Progress Resolved Resolved
2h 14m
1
Christophe DENEUX
Fri, 21 Sep 2012 - 16:40:02 +0200



People

Dates

  • Created:
    Fri, 21 Sep 2012 - 14:23:31 +0200
    Updated:
    Mon, 5 May 2014 - 11:53:08 +0200
    Resolved:
    Fri, 21 Sep 2012 - 16:40:02 +0200