You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-dev@xml.apache.org by Vladimir Bossicard <vl...@bossicard.com> on 2002/09/15 08:53:10 UTC
[patch] Re: Commons-logging logger
> I'm sorry to say, that I don't like your logging patch, so I don't think I
> want to committ it.
Oops, it looks like I messed up with my patches. I sent the "Velocity
like logger" twice. I've attached the (correct) version that integrates
Commons-logging. Sorry for the mess.
> - going through the code and cleaning up log points, double checking to
> make sure they're useful, etc
> - going through the code to make sure that try-catches that are empty
> at the very least log their exceptions, etc
This is I think an ongoing effort. I wanted to first implement the
logging mechanism before correcting all the code. But it's clearly the
next step.
To "purify" the code, I proposed to use pmd (see an earlier post). It
catches unused code and empty try-catches.
> - creating, configuring and managing Loggers at the per class or per
> collection or per component level
Now that we have Commons-logging in place (well, if the patch is
applied), I can shop around and see what other projects did for
configuring Commons-logging.
-Vladimir
--
Vladimir Bossicard
www.bossicard.com
Re: [patch] Re: Commons-logging logger
Posted by Terry Rosenbaum <Te...@amicas.com>.
> Is this the view of the majority of developers, that Xindice
> is only meant to be running embedded inside Tomcat?
That is certainly not my view. I have no current intent of
running Xindice inside of Tomcat or via xmlrpc.
Aside from the fact that there are other servlet container systems,
one may not be using a servlet container
at all. Xindice is quite useful embedded in server
applications that do not even do "web". That is how I intend to
use it.
-Terry
Per Nyfelt wrote:
>Is this the view of the majority of developers, that Xindice is only meant to be running embedded
>inside Tomcat? If you are embedding xindice into other application server environments are you then
>doing something outside the scope and intent of Xindice embedded?
>
>Best regards,
>Per
>
>
>
>>-----Original Message-----
>>From: Fernando Padilla [mailto:fern@interdimensions.com]
>>Sent: Monday, September 23, 2002 9:11 PM
>>To: xindice-dev@xml.apache.org
>>Subject: Re: [patch] Re: Commons-logging logger
>>
>>
>>
>>Hello fellow Xindice enthusiasts..
>>
>>I need your help.
>>
>>So I took Vladimir's Commons-logging patch ( attached ), and have been
>>trying to get it to work, but I have failed. I just don't have enough
>>time to learn the intricacies of commons-logging to get it to work
>>properly from within Tomcat ( with is the proper way of running xindice ).
>>
>>I am looking for another brave volunteer who would like to try to get this
>>patch working with Xindice/Tomcat. ( so we won't have to waste Vladimir's
>>efforts, and further stall our move to a nicer logging system. )
>>
>>Anybody want to play with this patch and submit a different one once you
>>get it to work?
>>
>>
>>Fernando
>>
>>
>>
>>On Sat, 14 Sep 2002, Vladimir Bossicard wrote:
>>
>>
>>
>>>>I'm sorry to say, that I don't like your logging patch, so I don't think I
>>>>want to committ it.
>>>>
>>>>
>>>Oops, it looks like I messed up with my patches. I sent the "Velocity
>>>like logger" twice. I've attached the (correct) version that integrates
>>>Commons-logging. Sorry for the mess.
>>>
>>>
>>>
>>>>- going through the code and cleaning up log points, double checking to
>>>> make sure they're useful, etc
>>>>- going through the code to make sure that try-catches that are empty
>>>> at the very least log their exceptions, etc
>>>>
>>>>
>>>This is I think an ongoing effort. I wanted to first implement the
>>>logging mechanism before correcting all the code. But it's clearly the
>>>next step.
>>>
>>>To "purify" the code, I proposed to use pmd (see an earlier post). It
>>>catches unused code and empty try-catches.
>>>
>>>
>>>
>>>>- creating, configuring and managing Loggers at the per class or per
>>>> collection or per component level
>>>>
>>>>
>>>Now that we have Commons-logging in place (well, if the patch is
>>>applied), I can shop around and see what other projects did for
>>>configuring Commons-logging.
>>>
>>>-Vladimir
>>>
>>>
>>>
>>>
>
>
>
>
Re: [patch] Re: Commons-logging logger
Posted by Murray Altheim <m....@open.ac.uk>.
Mark J. Stang wrote:
> I for one plan to run it elsewhere.
>
> Mark
I as well. I think it'd be a mistake to think Xindice's application
space is only for Tomcat applications. The need for an open source
XML database is likely pretty strong, as evidenced by several
commercial vendors competing with Xindice for "customers." The
number of people I know of doing various projects that keep track
of XML data are either considering or planning to incorporate
Xindice. My project, Ceryle, does, and I believe several topic
map applications (Nexist, TM4J) will be using it. I just finished
an email conversation with a guy I know from industry who plans
on moving from a filesystem-based storage to Xindice.
> Per Nyfelt wrote:
>>Is this the view of the majority of developers, that Xindice is only meant to be running embedded
>>inside Tomcat? If you are embedding xindice into other application server environments are you then
>>doing something outside the scope and intent of Xindice embedded?
>>
>>Best regards,
>>Per
Murray
......................................................................
Murray Altheim <http://kmi.open.ac.uk/people/murray/>
Knowledge Media Institute
The Open University, Milton Keynes, Bucks, MK7 6AA, UK
Stop the Bush-Cheney Reign of Terror: no war in Iraq!
2800 people dead in New York? 1 million in Iraq, about
half a million of them children. Sanctions against Irag
include vaccines and even chlorine -- end the sanctions!
http://www.globalissues.org/Geopolitics/MiddleEast/Iraq.asp
Re: [patch] Re: Commons-logging logger
Posted by "Mark J. Stang" <ma...@earthlink.net>.
I for one plan to run it elsewhere.
Mark
Per Nyfelt wrote:
> Is this the view of the majority of developers, that Xindice is only meant to be running embedded
> inside Tomcat? If you are embedding xindice into other application server environments are you then
> doing something outside the scope and intent of Xindice embedded?
>
> Best regards,
> Per
>
> > -----Original Message-----
> > From: Fernando Padilla [mailto:fern@interdimensions.com]
> > Sent: Monday, September 23, 2002 9:11 PM
> > To: xindice-dev@xml.apache.org
> > Subject: Re: [patch] Re: Commons-logging logger
> >
> >
> >
> > Hello fellow Xindice enthusiasts..
> >
> > I need your help.
> >
> > So I took Vladimir's Commons-logging patch ( attached ), and have been
> > trying to get it to work, but I have failed. I just don't have enough
> > time to learn the intricacies of commons-logging to get it to work
> > properly from within Tomcat ( with is the proper way of running xindice ).
> >
> > I am looking for another brave volunteer who would like to try to get this
> > patch working with Xindice/Tomcat. ( so we won't have to waste Vladimir's
> > efforts, and further stall our move to a nicer logging system. )
> >
> > Anybody want to play with this patch and submit a different one once you
> > get it to work?
> >
> >
> > Fernando
> >
> >
> >
> > On Sat, 14 Sep 2002, Vladimir Bossicard wrote:
> >
> > > > I'm sorry to say, that I don't like your logging patch, so I don't think I
> > > > want to committ it.
> > >
> > > Oops, it looks like I messed up with my patches. I sent the "Velocity
> > > like logger" twice. I've attached the (correct) version that integrates
> > > Commons-logging. Sorry for the mess.
> > >
> > > > - going through the code and cleaning up log points, double checking to
> > > > make sure they're useful, etc
> > > > - going through the code to make sure that try-catches that are empty
> > > > at the very least log their exceptions, etc
> > >
> > > This is I think an ongoing effort. I wanted to first implement the
> > > logging mechanism before correcting all the code. But it's clearly the
> > > next step.
> > >
> > > To "purify" the code, I proposed to use pmd (see an earlier post). It
> > > catches unused code and empty try-catches.
> > >
> > > > - creating, configuring and managing Loggers at the per class or per
> > > > collection or per component level
> > >
> > > Now that we have Commons-logging in place (well, if the patch is
> > > applied), I can shop around and see what other projects did for
> > > configuring Commons-logging.
> > >
> > > -Vladimir
> > >
> > >
> >
--
Mark J Stang
System Architect
Cybershop Systems
Re: [patch] Re: Commons-logging logger
Posted by Kimbro Staken <ks...@xmldatabases.org>.
On Tuesday, September 24, 2002, at 03:06 AM, Per Nyfelt wrote:
> Is this the view of the majority of developers, that Xindice is only
> meant to be running embedded
> inside Tomcat? If you are embedding xindice into other application
> server environments are you then
> doing something outside the scope and intent of Xindice embedded?
>
Definitely not, in fact enabling that kind of thing was one of the big
reasons we created the embedded version in the first place.
> Best regards,
> Per
>
>> -----Original Message-----
>> From: Fernando Padilla [mailto:fern@interdimensions.com]
>> Sent: Monday, September 23, 2002 9:11 PM
>> To: xindice-dev@xml.apache.org
>> Subject: Re: [patch] Re: Commons-logging logger
>>
>>
>>
>> Hello fellow Xindice enthusiasts..
>>
>> I need your help.
>>
>> So I took Vladimir's Commons-logging patch ( attached ), and have been
>> trying to get it to work, but I have failed. I just don't have enough
>> time to learn the intricacies of commons-logging to get it to work
>> properly from within Tomcat ( with is the proper way of running
>> xindice ).
>>
>> I am looking for another brave volunteer who would like to try to get
>> this
>> patch working with Xindice/Tomcat. ( so we won't have to waste
>> Vladimir's
>> efforts, and further stall our move to a nicer logging system. )
>>
>> Anybody want to play with this patch and submit a different one once
>> you
>> get it to work?
>>
>>
>> Fernando
>>
>>
>>
>> On Sat, 14 Sep 2002, Vladimir Bossicard wrote:
>>
>>>> I'm sorry to say, that I don't like your logging patch, so I don't
>>>> think I
>>>> want to committ it.
>>>
>>> Oops, it looks like I messed up with my patches. I sent the
>>> "Velocity
>>> like logger" twice. I've attached the (correct) version that
>>> integrates
>>> Commons-logging. Sorry for the mess.
>>>
>>>> - going through the code and cleaning up log points, double
>>>> checking to
>>>> make sure they're useful, etc
>>>> - going through the code to make sure that try-catches that are
>>>> empty
>>>> at the very least log their exceptions, etc
>>>
>>> This is I think an ongoing effort. I wanted to first implement the
>>> logging mechanism before correcting all the code. But it's clearly
>>> the
>>> next step.
>>>
>>> To "purify" the code, I proposed to use pmd (see an earlier post).
>>> It
>>> catches unused code and empty try-catches.
>>>
>>>> - creating, configuring and managing Loggers at the per class or per
>>>> collection or per component level
>>>
>>> Now that we have Commons-logging in place (well, if the patch is
>>> applied), I can shop around and see what other projects did for
>>> configuring Commons-logging.
>>>
>>> -Vladimir
>>>
>>>
>>
>
>
>
Kimbro Staken
Java and XML Software, Consulting and Writing
http://www.xmldatabases.org/
Apache Xindice native XML database http://xml.apache.org/xindice
XML:DB Initiative http://www.xmldb.org
RE: [patch] Re: Commons-logging logger
Posted by Per Nyfelt <pe...@nordicwave.com>.
Thanks for the clarification Fernando.
Regards,
Per
> -----Original Message-----
> From: Fernando Padilla [mailto:fern@interdimensions.com]
> Sent: Tuesday, September 24, 2002 2:50 PM
> To: xindice-dev@xml.apache.org
> Subject: RE: [patch] Re: Commons-logging logger
>
>
>
> No, I guess I mentioned Tomcat becuase that's what most of us are using.
> But there are no Tomcat-specific things, so it should work with any Web
> Container.
>
> But even then Xindice is really a standalone XML Database library, that
> can be started and used by any piece of code. It's just that we have a
> default WebApplication that exposes this library though XML-RPC, thus
> turning it into a Client-Server type system. So hopefully Xindice should
> work in any application framework..
>
> fernando
>
> On Tue, 24 Sep 2002, Per Nyfelt wrote:
>
> > Is this the view of the majority of developers, that Xindice is only meant to be
> running embedded
> > inside Tomcat? If you are embedding xindice into other application server environments
> are you then
> > doing something outside the scope and intent of Xindice embedded?
> >
> > Best regards,
> > Per
> >
> > > -----Original Message-----
> > > From: Fernando Padilla [mailto:fern@interdimensions.com]
> > > Sent: Monday, September 23, 2002 9:11 PM
> > > To: xindice-dev@xml.apache.org
> > > Subject: Re: [patch] Re: Commons-logging logger
> > >
> > >
> > >
> > > Hello fellow Xindice enthusiasts..
> > >
> > > I need your help.
> > >
> > > So I took Vladimir's Commons-logging patch ( attached ), and have been
> > > trying to get it to work, but I have failed. I just don't have enough
> > > time to learn the intricacies of commons-logging to get it to work
> > > properly from within Tomcat ( with is the proper way of running xindice ).
> > >
> > > I am looking for another brave volunteer who would like to try to get this
> > > patch working with Xindice/Tomcat. ( so we won't have to waste Vladimir's
> > > efforts, and further stall our move to a nicer logging system. )
> > >
> > > Anybody want to play with this patch and submit a different one once you
> > > get it to work?
> > >
> > >
> > > Fernando
> > >
> > >
> > >
> > > On Sat, 14 Sep 2002, Vladimir Bossicard wrote:
> > >
> > > > > I'm sorry to say, that I don't like your logging patch, so I don't think I
> > > > > want to committ it.
> > > >
> > > > Oops, it looks like I messed up with my patches. I sent the "Velocity
> > > > like logger" twice. I've attached the (correct) version that integrates
> > > > Commons-logging. Sorry for the mess.
> > > >
> > > > > - going through the code and cleaning up log points, double checking to
> > > > > make sure they're useful, etc
> > > > > - going through the code to make sure that try-catches that are empty
> > > > > at the very least log their exceptions, etc
> > > >
> > > > This is I think an ongoing effort. I wanted to first implement the
> > > > logging mechanism before correcting all the code. But it's clearly the
> > > > next step.
> > > >
> > > > To "purify" the code, I proposed to use pmd (see an earlier post). It
> > > > catches unused code and empty try-catches.
> > > >
> > > > > - creating, configuring and managing Loggers at the per class or per
> > > > > collection or per component level
> > > >
> > > > Now that we have Commons-logging in place (well, if the patch is
> > > > applied), I can shop around and see what other projects did for
> > > > configuring Commons-logging.
> > > >
> > > > -Vladimir
> > > >
> > > >
> > >
> >
> >
> >
>
>
>
RE: [patch] Re: Commons-logging logger
Posted by Fernando Padilla <fe...@interdimensions.com>.
No, I guess I mentioned Tomcat becuase that's what most of us are using.
But there are no Tomcat-specific things, so it should work with any Web
Container.
But even then Xindice is really a standalone XML Database library, that
can be started and used by any piece of code. It's just that we have a
default WebApplication that exposes this library though XML-RPC, thus
turning it into a Client-Server type system. So hopefully Xindice should
work in any application framework..
fernando
On Tue, 24 Sep 2002, Per Nyfelt wrote:
> Is this the view of the majority of developers, that Xindice is only meant to be running embedded
> inside Tomcat? If you are embedding xindice into other application server environments are you then
> doing something outside the scope and intent of Xindice embedded?
>
> Best regards,
> Per
>
> > -----Original Message-----
> > From: Fernando Padilla [mailto:fern@interdimensions.com]
> > Sent: Monday, September 23, 2002 9:11 PM
> > To: xindice-dev@xml.apache.org
> > Subject: Re: [patch] Re: Commons-logging logger
> >
> >
> >
> > Hello fellow Xindice enthusiasts..
> >
> > I need your help.
> >
> > So I took Vladimir's Commons-logging patch ( attached ), and have been
> > trying to get it to work, but I have failed. I just don't have enough
> > time to learn the intricacies of commons-logging to get it to work
> > properly from within Tomcat ( with is the proper way of running xindice ).
> >
> > I am looking for another brave volunteer who would like to try to get this
> > patch working with Xindice/Tomcat. ( so we won't have to waste Vladimir's
> > efforts, and further stall our move to a nicer logging system. )
> >
> > Anybody want to play with this patch and submit a different one once you
> > get it to work?
> >
> >
> > Fernando
> >
> >
> >
> > On Sat, 14 Sep 2002, Vladimir Bossicard wrote:
> >
> > > > I'm sorry to say, that I don't like your logging patch, so I don't think I
> > > > want to committ it.
> > >
> > > Oops, it looks like I messed up with my patches. I sent the "Velocity
> > > like logger" twice. I've attached the (correct) version that integrates
> > > Commons-logging. Sorry for the mess.
> > >
> > > > - going through the code and cleaning up log points, double checking to
> > > > make sure they're useful, etc
> > > > - going through the code to make sure that try-catches that are empty
> > > > at the very least log their exceptions, etc
> > >
> > > This is I think an ongoing effort. I wanted to first implement the
> > > logging mechanism before correcting all the code. But it's clearly the
> > > next step.
> > >
> > > To "purify" the code, I proposed to use pmd (see an earlier post). It
> > > catches unused code and empty try-catches.
> > >
> > > > - creating, configuring and managing Loggers at the per class or per
> > > > collection or per component level
> > >
> > > Now that we have Commons-logging in place (well, if the patch is
> > > applied), I can shop around and see what other projects did for
> > > configuring Commons-logging.
> > >
> > > -Vladimir
> > >
> > >
> >
>
>
>
RE: [patch] Re: Commons-logging logger
Posted by Per Nyfelt <pe...@nordicwave.com>.
Is this the view of the majority of developers, that Xindice is only meant to be running embedded
inside Tomcat? If you are embedding xindice into other application server environments are you then
doing something outside the scope and intent of Xindice embedded?
Best regards,
Per
> -----Original Message-----
> From: Fernando Padilla [mailto:fern@interdimensions.com]
> Sent: Monday, September 23, 2002 9:11 PM
> To: xindice-dev@xml.apache.org
> Subject: Re: [patch] Re: Commons-logging logger
>
>
>
> Hello fellow Xindice enthusiasts..
>
> I need your help.
>
> So I took Vladimir's Commons-logging patch ( attached ), and have been
> trying to get it to work, but I have failed. I just don't have enough
> time to learn the intricacies of commons-logging to get it to work
> properly from within Tomcat ( with is the proper way of running xindice ).
>
> I am looking for another brave volunteer who would like to try to get this
> patch working with Xindice/Tomcat. ( so we won't have to waste Vladimir's
> efforts, and further stall our move to a nicer logging system. )
>
> Anybody want to play with this patch and submit a different one once you
> get it to work?
>
>
> Fernando
>
>
>
> On Sat, 14 Sep 2002, Vladimir Bossicard wrote:
>
> > > I'm sorry to say, that I don't like your logging patch, so I don't think I
> > > want to committ it.
> >
> > Oops, it looks like I messed up with my patches. I sent the "Velocity
> > like logger" twice. I've attached the (correct) version that integrates
> > Commons-logging. Sorry for the mess.
> >
> > > - going through the code and cleaning up log points, double checking to
> > > make sure they're useful, etc
> > > - going through the code to make sure that try-catches that are empty
> > > at the very least log their exceptions, etc
> >
> > This is I think an ongoing effort. I wanted to first implement the
> > logging mechanism before correcting all the code. But it's clearly the
> > next step.
> >
> > To "purify" the code, I proposed to use pmd (see an earlier post). It
> > catches unused code and empty try-catches.
> >
> > > - creating, configuring and managing Loggers at the per class or per
> > > collection or per component level
> >
> > Now that we have Commons-logging in place (well, if the patch is
> > applied), I can shop around and see what other projects did for
> > configuring Commons-logging.
> >
> > -Vladimir
> >
> >
>
Re: [patch] Re: Commons-logging logger
Posted by Fernando Padilla <fe...@interdimensions.com>.
Hello fellow Xindice enthusiasts..
I need your help.
So I took Vladimir's Commons-logging patch ( attached ), and have been
trying to get it to work, but I have failed. I just don't have enough
time to learn the intricacies of commons-logging to get it to work
properly from within Tomcat ( with is the proper way of running xindice ).
I am looking for another brave volunteer who would like to try to get this
patch working with Xindice/Tomcat. ( so we won't have to waste Vladimir's
efforts, and further stall our move to a nicer logging system. )
Anybody want to play with this patch and submit a different one once you
get it to work?
Fernando
On Sat, 14 Sep 2002, Vladimir Bossicard wrote:
> > I'm sorry to say, that I don't like your logging patch, so I don't think I
> > want to committ it.
>
> Oops, it looks like I messed up with my patches. I sent the "Velocity
> like logger" twice. I've attached the (correct) version that integrates
> Commons-logging. Sorry for the mess.
>
> > - going through the code and cleaning up log points, double checking to
> > make sure they're useful, etc
> > - going through the code to make sure that try-catches that are empty
> > at the very least log their exceptions, etc
>
> This is I think an ongoing effort. I wanted to first implement the
> logging mechanism before correcting all the code. But it's clearly the
> next step.
>
> To "purify" the code, I proposed to use pmd (see an earlier post). It
> catches unused code and empty try-catches.
>
> > - creating, configuring and managing Loggers at the per class or per
> > collection or per component level
>
> Now that we have Commons-logging in place (well, if the patch is
> applied), I can shop around and see what other projects did for
> configuring Commons-logging.
>
> -Vladimir
>
>