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
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 ]
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 ]
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 ]
Christophe DENEUX made changes - Wed, 20 May 2015 - 09:19:47 +0200
Link This issue depends on PETALSBCSOAP-141 [ PETALSBCSOAP-141 ]

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