You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tamaya.apache.org by "Andres Almiray (JIRA)" <ji...@apache.org> on 2014/11/28 18:32:12 UTC

[jira] [Commented] (TAMAYA-4) No log dependency OOTB

    [ https://issues.apache.org/jira/browse/TAMAYA-4?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14228410#comment-14228410 ] 

Andres Almiray commented on TAMAYA-4:
-------------------------------------

If JUL is chosen then you have to add the suggested adapter, which I guess every project @ apache has considered in adding at some point, or added it anyway (duplicate code).
Personally I prefer no complications and go with Sl4fj instead of maintaining yet another (tiny) logger abstraction in order to avoid an external dependency.

$0.02

> No log dependency OOTB
> ----------------------
>
>                 Key: TAMAYA-4
>                 URL: https://issues.apache.org/jira/browse/TAMAYA-4
>             Project: Tamaya
>          Issue Type: Bug
>            Reporter: Romain Manni-Bucau
>
> Not urgent but logging it in the backlog while thinking to it
> Tamaya currently relies on log4j2. This is a great lib but would be great to use as almost all EE projects @apache JUL by default - ie no dependency - and allows to switch to whatever lib is needed for logging with a config (surely just a system property). These classes https://git-wip-us.apache.org/repos/asf?p=tomee.git;a=tree;f=container/openejb-core/src/main/java/org/apache/openejb/log/logger;h=c0487abe382894a0b5ec8ebb5563f3d0d731b08c;hb=1f9b526859c4fe2734d8241d8c036a22d8be6afb can help doing it easily (originally taken from cxf).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)