Re: [RT] Logging and Logback

2013-08-28 Thread Felix Meschberger
Hi I have now committed Chetans latest patch over the commons.log bundle. That is commons.log is now logback based and the old implementation has gone (will still be available in release 3.0.2 under vote and the SVN history). Please check it out, and please crosscheck whether the license files

Re: [RT] Logging and Logback

2013-08-22 Thread Chetan Mehrotra
Hi, I am done with most of the planned features with Sling Logabck extension [1]. To summarize it supports following features * Compatible with existing Sling Commons Log * LogBack configuration can be provided via Logback config xml * ConfigurationAdmin integration - Logback Config can be

Re: [RT] Logging and Logback

2013-08-13 Thread Chetan Mehrotra
Hi, I was also looking for using Logback with Sling to simplify debugging issues in multi threaded env via Markers and MDC. Current implementation is available at [1]. It currently works and provides all the features as supported by current Sling Commons Log. In addition it enables registration

Re: [RT] Logging and Logback

2013-08-13 Thread Bertrand Delacretaz
Hi Chetan, On Tue, Aug 13, 2013 at 1:11 PM, Chetan Mehrotra chetan.mehro...@gmail.com wrote: ...For maintaining configuration compatibility it uses LogConfig and LogWriter support from Felix's prototype... Is that covered by automated tests? IMO if we want to switch logging implementations

Re: [RT] Logging and Logback

2013-08-13 Thread Chetan Mehrotra
Hi Bertrand, Is that covered by automated tests? So far no automated testcase exist. I just swapped the log implementation in existing system and saw if the log were generated as expected or not. Adding automated testcase for such scenarios would take some decent effort. So before I invest

Re: [RT] Logging and Logback

2013-08-13 Thread Bertrand Delacretaz
On Tue, Aug 13, 2013 at 1:48 PM, Chetan Mehrotra chetan.mehro...@gmail.com wrote: ...I just swapped the log implementation in existing system and saw if the log were generated as expected or not. Adding automated testcase for such scenarios would take some decent effort... granted...but I

Re: [RT] Logging and Logback

2013-08-07 Thread Felix Meschberger
Hi Carsten I started hacking around to this avail -- but I am nowhere near completion ... I committed my current (incomplete) work to https://svn.apache.org/repos/asf/sling/whiteboard/fmeschbe/logback Regards Felix Am 06.08.2013 um 13:30 schrieb Carsten Ziegeler: Hi, i've the need for a

[RT] Logging and Logback

2013-08-06 Thread Carsten Ziegeler
Hi, i've the need for a custom log append not logging into a file. This is something our current logging bundles do not support. By looking around using logback could be an answer and I also found [1] where moving to logback has already been discussed. So I'm wondering what/how to this. One