Petals Distribution

Redirect JCL and slf4j to JUL

Details

  • Type: Task Task
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 4.2.4
  • Fix Version/s: 5.0.0-M1
  • Component/s: None
  • Security Level: Public
  • Description:
    Hide

    JCL and Slf4j are facade log libraries used by external libraries to log.

    In Petals we use JUL (see PETALSDISTRIB-135 for discussions on the matter).

    Hence, the components should contain the implementations needed by slf4j and JCL in order to redirect to JUL.

    For JCL, as long as log4j is not in the classpath, it will use JUL, for slf4j, the dependency is slf4j-jdk14.

    Show
    JCL and Slf4j are facade log libraries used by external libraries to log. In Petals we use JUL (see PETALSDISTRIB-135 for discussions on the matter). Hence, the components should contain the implementations needed by slf4j and JCL in order to redirect to JUL. For JCL, as long as log4j is not in the classpath, it will use JUL, for slf4j, the dependency is slf4j-jdk14.
  • Environment:
    -

Issue Links

Activity

Victor NOËL made changes - Mon, 18 May 2015 - 15:18:43 +0200
Field Original Value New Value
Status New [ 10000 ] Open [ 10002 ]
Priority Minor [ 4 ]
Assignee Christophe DENEUX [ cdeneux ] Victor NOËL [ vnoel ]
Victor NOËL made changes - Mon, 18 May 2015 - 16:14:46 +0200
Summary Redirect log4j and slf4j to java commons log Redirect slf4j to java commons log
Description Log4j and slf4j are two libraries used by external tools to log.

In Petals we use JUL (see PETALSDISTRIB-135 for discussions on the matter).

Hence, the system classloader (see PETALSESBCONT-323) should contain the implementations needed by log4j and slf4j in order to redirect to JUL.

Currently, some components do it themselves.
JCL and Slf4j are facade log libraries used by external libraries to log.

In Petals we use JUL (see PETALSDISTRIB-135 for discussions on the matter).

Hence, the system classloader (see PETALSESBCONT-323) should contain the implementations needed by slf4j and JCL in order to redirect to JUL.

For JCL, as long as log4j is not in the classpath, it will use JUL, for slf4j, the dependency is slf4j-jdk14.
Victor NOËL made changes - Mon, 18 May 2015 - 16:20:22 +0200
Summary Redirect slf4j to java commons log Redirect JCL and slf4j to java commons log
Victor NOËL made changes - Mon, 18 May 2015 - 17:17:44 +0200
Summary Redirect JCL and slf4j to java commons log Redirect JCL and slf4j to JUL
Hide
Victor NOËL added a comment - Mon, 18 May 2015 - 17:19:47 +0200

Components that are using slf4j: SOAP (but not sure it is really used...), ASE (by activemq), Camel and Activiti.

Show
Victor NOËL added a comment - Mon, 18 May 2015 - 17:19:47 +0200 Components that are using slf4j: SOAP (but not sure it is really used...), ASE (by activemq), Camel and Activiti.
Victor NOËL made changes - Mon, 18 May 2015 - 17:19:47 +0200
Description JCL and Slf4j are facade log libraries used by external libraries to log.

In Petals we use JUL (see PETALSDISTRIB-135 for discussions on the matter).

Hence, the system classloader (see PETALSESBCONT-323) should contain the implementations needed by slf4j and JCL in order to redirect to JUL.

For JCL, as long as log4j is not in the classpath, it will use JUL, for slf4j, the dependency is slf4j-jdk14.
JCL and Slf4j are facade log libraries used by external libraries to log.

In Petals we use JUL (see PETALSDISTRIB-135 for discussions on the matter).

Hence, the components should contain the implementations needed by slf4j and JCL in order to redirect to JUL.

For JCL, as long as log4j is not in the classpath, it will use JUL, for slf4j, the dependency is slf4j-jdk14.
Victor NOËL made changes - Mon, 18 May 2015 - 17:29:41 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Victor NOËL made changes - Tue, 19 May 2015 - 13:21:57 +0200
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 5.0.0 [ 10412 ]
Resolution Fixed [ 1 ]
Hide
Christophe DENEUX added a comment - Tue, 19 May 2015 - 14:30:24 +0200

Don't forget to update https://doc.petalslink.com/display/petalsesbsnapshot/Logging+in+Petals according to these changes

Show
Christophe DENEUX added a comment - Tue, 19 May 2015 - 14:30:24 +0200 Don't forget to update https://doc.petalslink.com/display/petalsesbsnapshot/Logging+in+Petals according to these changes
Christophe DENEUX made changes - Tue, 19 May 2015 - 14:38:50 +0200
Link This issue duplicates PETALSESBCONT-227 [ PETALSESBCONT-227 ]
Victor NOËL made changes - Tue, 19 May 2015 - 14:53:30 +0200
Link This issue blocks PETALSESBCONT-335 [ PETALSESBCONT-335 ]
Hide
Victor NOËL added a comment - Tue, 19 May 2015 - 15:06:48 +0200

Ok, nothing else to update since SOAP was already documented and ASE is not documented at all.

Show
Victor NOËL added a comment - Tue, 19 May 2015 - 15:06:48 +0200 Ok, nothing else to update since SOAP was already documented and ASE is not documented at all.
Hide
Christophe DENEUX added a comment - Tue, 19 May 2015 - 15:35:37 +0200

Perhaps can you add a french small text for Petals SE ASE to the page https://doc.petalslink.com/display/petalscomponents/Petals+SE-ASE, in the chapter "configuration"

Show
Christophe DENEUX added a comment - Tue, 19 May 2015 - 15:35:37 +0200 Perhaps can you add a french small text for Petals SE ASE to the page https://doc.petalslink.com/display/petalscomponents/Petals+SE-ASE, in the chapter "configuration"
Christophe DENEUX made changes - Tue, 19 May 2015 - 15:37:34 +0200
Link This issue blocks PETALSESBCONT-335 [ PETALSESBCONT-335 ]
Christophe DENEUX made changes - Tue, 19 May 2015 - 15:37:49 +0200
Link This issue depends on PETALSESBCONT-335 [ PETALSESBCONT-335 ]
Hide
Victor NOËL added a comment - Tue, 19 May 2015 - 16:28:27 +0200

done

Show
Victor NOËL added a comment - Tue, 19 May 2015 - 16:28:27 +0200 done
Christophe DENEUX made changes - Wed, 20 May 2015 - 09:19:47 +0200
Link This issue depends on PETALSBCSOAP-141 [ PETALSBCSOAP-141 ]
Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
9s
1
Victor NOËL
Mon, 18 May 2015 - 15:18:43 +0200
Open Open In Progress In Progress
2h 10m
1
Victor NOËL
Mon, 18 May 2015 - 17:29:41 +0200
In Progress In Progress Resolved Resolved
19h 52m
1
Victor NOËL
Tue, 19 May 2015 - 13:21:57 +0200



People

Dates

  • Created:
    Mon, 18 May 2015 - 15:18:34 +0200
    Updated:
    Wed, 20 May 2015 - 09:19:47 +0200
    Resolved:
    Tue, 19 May 2015 - 13:21:57 +0200