Re: [basex-talk] Moving to log4j, java.util.logging, Apache Commons Logging, etc?

2012-04-03 Thread Christian Grün
..thanks for keeping me updated. ___ On Tue, Apr 3, 2012 at 1:18 AM, Charles Duffy char...@dyfis.net wrote: On 04/02/2012 08:07 AM, Christian Grün wrote: Work started on that, present in my github tree

Re: [basex-talk] Moving to log4j, java.util.logging, Apache Commons Logging, etc?

2012-04-02 Thread Christian Grün
Work started on that, present in my github tree (https://github.com/charles-dyfis-net/basex/commits/java_util_logging). Good news, I'll look at that soon. FYI -- I rather strongly disagree with building our own indirection layer to dynamically switch between logging libraries, when at least

Re: [basex-talk] Moving to log4j, java.util.logging, Apache Commons Logging, etc?

2012-04-02 Thread Charles Duffy
On 04/02/2012 08:07 AM, Christian Grün wrote: Work started on that, present in my github tree (https://github.com/charles-dyfis-net/basex/commits/java_util_logging). Good news, I'll look at that soon. FYI -- I rather strongly disagree with building our own indirection layer to dynamically

Re: [basex-talk] Moving to log4j, java.util.logging, Apache Commons Logging, etc?

2012-04-02 Thread Charles Duffy
On 04/02/2012 08:07 AM, Christian Grün wrote: Work started on that, present in my github tree (https://github.com/charles-dyfis-net/basex/commits/java_util_logging). Good news, I'll look at that soon. FYI -- I just checked in today's work (which includes better support for controlling

[basex-talk] Moving to log4j, java.util.logging, Apache Commons Logging, etc?

2012-04-01 Thread Charles Duffy
Howdy -- Right now, logging in BaseX is managed through org.basex.server.Log, allocated within each BaseXServer instance and passed to classes such as ClientListener with a known need to do logging. Compared to common logging approaches, this is somewhat unfortunate -- any class not passed

Re: [basex-talk] Moving to log4j, java.util.logging, Apache Commons Logging, etc?

2012-04-01 Thread Christian Grün
Hi Charles, Is the decision to use an in-house logging framework open to reconsideration? I'd be willing to do a first-draft cut on a transition to log4j, Sun's java.util.logging, or Apache Commons Logging (a thin indirection layer which can use either of those as an underlying backend) if

Re: [basex-talk] Moving to log4j, java.util.logging, Apache Commons Logging, etc?

2012-04-01 Thread Charles Duffy
On 04/01/2012 04:26 PM, Christian Grün wrote: Hi Charles, Is the decision to use an in-house logging framework open to reconsideration? I'd be willing to do a first-draft cut on a transition to log4j, Sun's java.util.logging, or Apache Commons Logging (a thin indirection layer which can use

Re: [basex-talk] Moving to log4j, java.util.logging, Apache Commons Logging, etc?

2012-04-01 Thread Christian Grün
Could you quickly run through the requirements for a logging system in BaseX, to be sure we're on the same page? Just a short one... It might be a good start to check out the existing debug mode, which is very cheap, too, and rewrite it in a way such that this output is redirected to the

Re: [basex-talk] Moving to log4j, java.util.logging, Apache Commons Logging, etc?

2012-04-01 Thread Charles Duffy
On 04/01/2012 05:24 PM, Christian Grün wrote: Could you quickly run through the requirements for a logging system in BaseX, to be sure we're on the same page? Just a short one... It might be a good start to check out the existing debug mode, which is very cheap, too, and rewrite it in a way