Re: [slf4j-user] basic MDC support for java.util.logging

2008-01-15 Thread Ceki Gulcu
Maarten Bosteels wrote: Hello Ceki, I started coding a BasicMDCAdapter that could be used by java.util.logging Had a look at the log4j MDC implementation and also at LogbackMDCAdapter code. Currently my implementation is roughly the same as the LogbackMDCAdapter without the generics

Re: [slf4j-user] basic MDC support for java.util.logging

2008-01-15 Thread Maarten Bosteels
Ceki, no problem at all. Would it also be possible to fax the CLA as I did for ASF ? I could fax it right now. If not, I will try to send it by snail mail asap. Maarten On Jan 15, 2008 4:56 PM, Ceki Gulcu [EMAIL PROTECTED] wrote: Maarten Bosteels wrote: Hello Ceki, I started coding a

Re: [slf4j-user] basic MDC support for java.util.logging

2008-01-10 Thread Ceki Gulcu
Maarten Bosteels wrote: I understand. It's not something that has to be decided right way IMO. But we could already include the attached BasicMDCAdapter in SLF4J (without the formatter). That way people using slf4j-jdk14.jar can also benefit from the MDC with java.util.logging. And we

Re: [slf4j-user] basic MDC support for java.util.logging

2008-01-09 Thread Maarten Bosteels
Hi Ceki, On Jan 8, 2008 7:04 PM, Ceki Gulcu [EMAIL PROTECTED] wrote: Hi Maarteen, Just had a look at your contribution. I have a question in relation with Log4jXmlFormatter. It formats its output exactly as the XMLLayout in log4j does. This implies that output logging events appears as

Re: [slf4j-user] basic MDC support for java.util.logging

2008-01-08 Thread Maarten Bosteels
In light of what you describe, I think using XML as an exchange format is quite reasonable. More importantly, it remains aligned with SLF4J's goal of abstracting/bridging logging systems. You mention performance related results comparing XML formatting and Java serialization. I'd be

Re: [slf4j-user] basic MDC support for java.util.logging

2007-10-19 Thread Ceki Gulcu
Hi Maarteen, Comments inline. Maarten Bosteels wrote: Hello Ceki, I started coding a BasicMDCAdapter that could be used by java.util.logging Had a look at the log4j MDC implementation and also at LogbackMDCAdapter code. Currently my implementation is roughly the same as the

Re: [slf4j-user] basic MDC support for java.util.logging

2007-10-18 Thread Maarten Bosteels
Hello Ceki, I started coding a BasicMDCAdapter that could be used by java.util.logging Had a look at the log4j MDC implementation and also at LogbackMDCAdapter code. Currently my implementation is roughly the same as the LogbackMDCAdapter without the generics (since SLF4J should run on 1.4 right

[slf4j-user] basic MDC support for java.util.logging

2007-10-10 Thread Maarten Bosteels
Hello, On the MINA mailing list we had a discussion about usage of the MDC class. see http://www.nabble.com/result-poll-logging-frameworks-t4588455s16868.html MINA is using SLF4J for the obvious reason: we don't want to force a specific logging framework upon our users. But unfortunately, not

Re: [slf4j-user] basic MDC support for java.util.logging

2007-10-10 Thread Ceki Gulcu
Hi Maarteen, Comments inline. Maarten Bosteels wrote: [snip] But unfortunately, not all SLF4J implementations (or adapters) support the MDC mechanism. Indeed. Would it be acceptable to add basic MDC support to JDK14LoggerAdapter ? Yes, it would. The MDC would store its key/value pairs