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 suc

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 loggi

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

2012-04-01 Thread Charles Duffy
On 04/01/2012 04:35 PM, Dimitar Popov wrote: Just a short note from my side: I'd also propose SLF4J (at least for BaseX HTTP / Web App), since we already depend on it, because of Milton WebDAV. Looks good to me -- I wasn't previously familiar with SLF4J, but on brief review, this looks at leas

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 eit

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

2012-04-01 Thread Dimitar Popov
Am Sonntag, 1. April 2012, 23:26:43 schrieb 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 > > indi

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

[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 a

Re: [basex-talk] Concurrency problems with REST API

2012-04-01 Thread Christian Grün
Dear Tobias, thanks for your report and all the helpful details. My assumption is that the concurrency problem you came across may be related to an existing GitHub issue, which is why I've just added your info to this entry: https://github.com/BaseXdb/basex/issues/458 Expect this bug to be fix

Re: [basex-talk] possible bug? or opportunity for documentation enhancement? [2d sending]

2012-04-01 Thread Christian Grün
Dear Michael Sperberg-McQueen, thanks as usual for your concise feedback, and sorry for the delay and the fact that I cannot tell why the error occurred in your particular case. In earlier versions of BaseX, problems like this sometimes happened if multiple GUIs with the same database instance wer