Re: [PATCH] for logging

Harrie Hazewinkel <[email protected]> Mon, 13 Sep 2004 16:41:27 +0200
Newsgroups gmane.network.beep.beepcore.java.general
Message-ID <[email protected]>
Hi David,

There is also a 'java.util.logging.Level' and 'java.util.logging.Logger'
class in the since 1.4. So it would maybe better to use those.

Harrie

Harrie Hazewinkel wrote:
> David Blacka wrote:
> 
>> Harrie Hazewinkel wrote:
>>
>>> HI,
>>>
>>> While checking out the functionality of beepcore-java
>>> I run into a problem of the API with log4j. Attached is a
>>> patch that fixes the code for a recent 1.3 version of log4j.
>>> Hope it will be applied.
>>
>>
>>
>> What was the actual problem?
>>
>> I will note that the commons-logging package will absolutely use log4j 
>> if  log4j is present in the classpath.  You should be able to 
>> configure log4j first, and control the behavior of the commons-logging 
>> package. At that point, it is just a basic wrapper around log4j.
>>
> 
> While compiling the code I got a lot of errors, like package not found
> (due to classpatch indeed), but also some method API problems.
> While investigating I saw you seemed to have a different API
> for it (the common-logging), so I changed it directly into a recent
> version of the log4j.
> 
> I did not follow log4j that close, but if I understand it well
> it as become a more 'stand-alone' package with the name log4j.
> The logging-common is still there, but would you really keep that
> layer in between? You may decide that.
> 
> 
> cheers,
> Harrie
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
> Project Admins to receive an Apple iPod Mini FREE for your judgement on
> who ports your project to Linux PPC the best. Sponsored by IBM. 
> Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
> _______________________________________________
> Beepcore-java-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/beepcore-java-users




-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php