[ 
https://issues.apache.org/jira/browse/WODEN-71?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12764551#action_12764551
 ] 

Sagara Gunathunga  commented on WODEN-71:
-----------------------------------------

Initially,  according to the above comments i suggested first two options and 
later Jeff suggested 3rd option. 

Option 1-  SLF4J

If we consider Woden project as alone SLF4J is the best way to handle
this ,SLF4J free from problems available with JCL and enable users to
select their  convenient logging implementation while SLF4J only act
as  a Facade. Since Woden is a  utility project providing such
flexibility is a good feature.

The main drawback is need to add at least 3 jars to Classpath
slf4j-api , slf-Binding and actual logger implementation jar file. As
a example if some one want to use SLF4J with Log4J he have to add
slf4j-api.jar ,slf4j-log4j.jar together with log4j.jar. Logging is a
important  feature but in our case it is not  a core feature of Woden
, so I think asking users to add three new dependencies only because
of longing is decrease the usability of Woden.


Option 2-  Log4J

Log4J also free from those Class loading issues of JCL and users  need
to add  only one jar file (log4j.jar) as a new dependency. But main
drawback is we loose the flexibility and force users to use log4j as
the logging framework.

Option 3  -  JDK logging

(please  add pros/cons )



original discussion - 
http://www.nabble.com/Best-Logging-Strategy-for-Woden-td25486018.html 



> Logging Strategy and Implementation for Woden
> ---------------------------------------------
>
>                 Key: WODEN-71
>                 URL: https://issues.apache.org/jira/browse/WODEN-71
>             Project: Woden
>          Issue Type: New Feature
>          Components: Parser
>            Reporter: Graham Turrell
>            Assignee: Sagara Gunathunga 
>             Fix For: M9
>
>
> Woden currently does not use a logging reporting framework. A suitable 
> framework should be agreed upon. Apache log4j is proposed.
> One immediate application for the framework would be reporting all candidate 
> URI's that pass through the Woden URI Resolver.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to