You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Carsten Ziegeler <cz...@sundn.de> on 2001/08/07 12:04:02 UTC

[C2][VOTE]: Logging

I just wanted to start a vote on the logging features of C2.0. The 2.1
branch
containes the enhanced CocoonLogFormatter which outputs more information,
e.g.
the current uri, thread name etc.
So let's vote if this should go into the 2.0 branch!

I am +1 for adding this to 2.0.

Further, I want to make the log format and which formatter class is used
configurable in the web.xml. So, next vote:

+1 for adding formatter class and formatter format to the web.xml.

Comments and votes are welcome.


Carsten

Open Source Group                        sunShine - b:Integrated
================================================================
Carsten Ziegeler, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
www.sundn.de                          mailto: cziegeler@sundn.de
================================================================


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: AW: [C2][VOTE]: Logging

Posted by giacomo <gi...@apache.org>.
On Wed, 8 Aug 2001, Carsten Ziegeler wrote:

> > Berin Loritsch wrote:
> >
> > Vadim Gritsenko wrote:
> > >
> > > +1, and +1 to place config into cocoon.xconf.
> >
> > Perhaps a different file as cocoon.xconf is getting crowded.
> > Besides, logging is not a component.
> >
> A different file is also fine, but there has to be a configuration
> somewhere how to find the log configuration and this must in turn
> be the cocoon.xconf.
>
> Yes, logging is not a component but I think in that context the
> sitemap (which is also configured in the xconf) is not a component
> either.

You are wrong! The Sitemap IS a Avalon Component (a simple look at the
Sitemap interface will show).

Giacomo

>
> Carsten
>
> > >
> > > Vadim
> > >
> > > > -----Original Message-----
> > > > From: Sylvain Wallez [mailto:sylvain.wallez@anyware-tech.com]
> > > > Sent: Tuesday, August 07, 2001 1:50 PM
> > > > To: cocoon-dev@xml.apache.org
> > > > Subject: Re: [C2][VOTE]: Logging
> > > >
> > > >
> > > >
> > > >
> > > > Carsten Ziegeler wrote:
> > > > >
> > > > > I just wanted to start a vote on the logging features of
> > C2.0. The 2.1
> > > > > branch
> > > > > containes the enhanced CocoonLogFormatter which outputs
> > more information,
> > > > > e.g.
> > > > > the current uri, thread name etc.
> > > > > So let's vote if this should go into the 2.0 branch!
> > > > >
> > > > > I am +1 for adding this to 2.0.
> > > >
> > > > +1. Seems you liked it :)
> > > > But it will need some little update at the next LogKit release which
> > > > deprecates ContextStack in favor or the new ContextMap.
> > > > >
> > > > > Further, I want to make the log format and which formatter
> > class is used
> > > > > configurable in the web.xml. So, next vote:
> > > > >
> > > > > +1 for adding formatter class and formatter format to the web.xml.
> > > >
> > > > I would prefer it in cocoon.xconf, as you propose in another post. IMO
> > > > web.xml should be reserved as far as possible to servlet-specific
> > > > deployment configurations.
> > > > >
> > > > > Comments and votes are welcome.
> > > > >
> > > > > Carsten
> > > > >
> > > > > Open Source Group                        sunShine - b:Integrated
> > > > > ================================================================
> > > > > Carsten Ziegeler, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
> > > > > www.sundn.de                          mailto: cziegeler@sundn.de
> > > > > ================================================================
> > > > >
> > > > --
> > > > Sylvain Wallez
> > > > Anyware Technologies - http://www.anyware-tech.com
> > > >
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > > > For additional commands, email: cocoon-dev-help@xml.apache.org
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > > For additional commands, email: cocoon-dev-help@xml.apache.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > For additional commands, email: cocoon-dev-help@xml.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


AW: [C2][VOTE]: Logging

Posted by Carsten Ziegeler <cz...@sundn.de>.
> Berin Loritsch wrote:
>
> Vadim Gritsenko wrote:
> >
> > +1, and +1 to place config into cocoon.xconf.
>
> Perhaps a different file as cocoon.xconf is getting crowded.
> Besides, logging is not a component.
>
A different file is also fine, but there has to be a configuration
somewhere how to find the log configuration and this must in turn
be the cocoon.xconf.

Yes, logging is not a component but I think in that context the
sitemap (which is also configured in the xconf) is not a component
either.

Carsten

> >
> > Vadim
> >
> > > -----Original Message-----
> > > From: Sylvain Wallez [mailto:sylvain.wallez@anyware-tech.com]
> > > Sent: Tuesday, August 07, 2001 1:50 PM
> > > To: cocoon-dev@xml.apache.org
> > > Subject: Re: [C2][VOTE]: Logging
> > >
> > >
> > >
> > >
> > > Carsten Ziegeler wrote:
> > > >
> > > > I just wanted to start a vote on the logging features of
> C2.0. The 2.1
> > > > branch
> > > > containes the enhanced CocoonLogFormatter which outputs
> more information,
> > > > e.g.
> > > > the current uri, thread name etc.
> > > > So let's vote if this should go into the 2.0 branch!
> > > >
> > > > I am +1 for adding this to 2.0.
> > >
> > > +1. Seems you liked it :)
> > > But it will need some little update at the next LogKit release which
> > > deprecates ContextStack in favor or the new ContextMap.
> > > >
> > > > Further, I want to make the log format and which formatter
> class is used
> > > > configurable in the web.xml. So, next vote:
> > > >
> > > > +1 for adding formatter class and formatter format to the web.xml.
> > >
> > > I would prefer it in cocoon.xconf, as you propose in another post. IMO
> > > web.xml should be reserved as far as possible to servlet-specific
> > > deployment configurations.
> > > >
> > > > Comments and votes are welcome.
> > > >
> > > > Carsten
> > > >
> > > > Open Source Group                        sunShine - b:Integrated
> > > > ================================================================
> > > > Carsten Ziegeler, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
> > > > www.sundn.de                          mailto: cziegeler@sundn.de
> > > > ================================================================
> > > >
> > > --
> > > Sylvain Wallez
> > > Anyware Technologies - http://www.anyware-tech.com
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > > For additional commands, email: cocoon-dev-help@xml.apache.org
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > For additional commands, email: cocoon-dev-help@xml.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: [C2][VOTE]: Logging

Posted by Berin Loritsch <bl...@apache.org>.
Vadim Gritsenko wrote:
> 
> +1, and +1 to place config into cocoon.xconf.

Perhaps a different file as cocoon.xconf is getting crowded.
Besides, logging is not a component.

> 
> Vadim
> 
> > -----Original Message-----
> > From: Sylvain Wallez [mailto:sylvain.wallez@anyware-tech.com]
> > Sent: Tuesday, August 07, 2001 1:50 PM
> > To: cocoon-dev@xml.apache.org
> > Subject: Re: [C2][VOTE]: Logging
> >
> >
> >
> >
> > Carsten Ziegeler wrote:
> > >
> > > I just wanted to start a vote on the logging features of C2.0. The 2.1
> > > branch
> > > containes the enhanced CocoonLogFormatter which outputs more information,
> > > e.g.
> > > the current uri, thread name etc.
> > > So let's vote if this should go into the 2.0 branch!
> > >
> > > I am +1 for adding this to 2.0.
> >
> > +1. Seems you liked it :)
> > But it will need some little update at the next LogKit release which
> > deprecates ContextStack in favor or the new ContextMap.
> > >
> > > Further, I want to make the log format and which formatter class is used
> > > configurable in the web.xml. So, next vote:
> > >
> > > +1 for adding formatter class and formatter format to the web.xml.
> >
> > I would prefer it in cocoon.xconf, as you propose in another post. IMO
> > web.xml should be reserved as far as possible to servlet-specific
> > deployment configurations.
> > >
> > > Comments and votes are welcome.
> > >
> > > Carsten
> > >
> > > Open Source Group                        sunShine - b:Integrated
> > > ================================================================
> > > Carsten Ziegeler, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
> > > www.sundn.de                          mailto: cziegeler@sundn.de
> > > ================================================================
> > >
> > --
> > Sylvain Wallez
> > Anyware Technologies - http://www.anyware-tech.com
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > For additional commands, email: cocoon-dev-help@xml.apache.org
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


RE: [C2][VOTE]: Logging

Posted by Vadim Gritsenko <vg...@hns.com>.
+1, and +1 to place config into cocoon.xconf.

Vadim

> -----Original Message-----
> From: Sylvain Wallez [mailto:sylvain.wallez@anyware-tech.com]
> Sent: Tuesday, August 07, 2001 1:50 PM
> To: cocoon-dev@xml.apache.org
> Subject: Re: [C2][VOTE]: Logging
> 
> 
> 
> 
> Carsten Ziegeler wrote:
> > 
> > I just wanted to start a vote on the logging features of C2.0. The 2.1
> > branch
> > containes the enhanced CocoonLogFormatter which outputs more information,
> > e.g.
> > the current uri, thread name etc.
> > So let's vote if this should go into the 2.0 branch!
> > 
> > I am +1 for adding this to 2.0.
> 
> +1. Seems you liked it :)
> But it will need some little update at the next LogKit release which
> deprecates ContextStack in favor or the new ContextMap.
> > 
> > Further, I want to make the log format and which formatter class is used
> > configurable in the web.xml. So, next vote:
> > 
> > +1 for adding formatter class and formatter format to the web.xml.
> 
> I would prefer it in cocoon.xconf, as you propose in another post. IMO
> web.xml should be reserved as far as possible to servlet-specific
> deployment configurations.
> > 
> > Comments and votes are welcome.
> > 
> > Carsten
> > 
> > Open Source Group                        sunShine - b:Integrated
> > ================================================================
> > Carsten Ziegeler, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
> > www.sundn.de                          mailto: cziegeler@sundn.de
> > ================================================================
> > 
> -- 
> Sylvain Wallez
> Anyware Technologies - http://www.anyware-tech.com
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


AW: [C2][VOTE]: Logging

Posted by Carsten Ziegeler <cz...@sundn.de>.
> Sylvain Wallez wrote:
>
>
> Carsten Ziegeler wrote:
> >
> > I just wanted to start a vote on the logging features of C2.0. The 2.1
> > branch
> > containes the enhanced CocoonLogFormatter which outputs more
> information,
> > e.g.
> > the current uri, thread name etc.
> > So let's vote if this should go into the 2.0 branch!
> >
> > I am +1 for adding this to 2.0.
>
> +1. Seems you liked it :)
Yes, it's great!

But I am missing the xml output....

> But it will need some little update at the next LogKit release which
> deprecates ContextStack in favor or the new ContextMap.
Yes, we could update to the current cvs of LogKit (this provides also
an XML formatter..)

Carsten

> >
> > Further, I want to make the log format and which formatter class is used
> > configurable in the web.xml. So, next vote:
> >
> > +1 for adding formatter class and formatter format to the web.xml.
>
> I would prefer it in cocoon.xconf, as you propose in another post. IMO
> web.xml should be reserved as far as possible to servlet-specific
> deployment configurations.
> >
> > Comments and votes are welcome.
> >
> > Carsten
> >
> > Open Source Group                        sunShine - b:Integrated
> > ================================================================
> > Carsten Ziegeler, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
> > www.sundn.de                          mailto: cziegeler@sundn.de
> > ================================================================
> >
> --
> Sylvain Wallez
> Anyware Technologies - http://www.anyware-tech.com
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: [C2][VOTE]: Logging

Posted by Sylvain Wallez <sy...@anyware-tech.com>.

Carsten Ziegeler wrote:
> 
> I just wanted to start a vote on the logging features of C2.0. The 2.1
> branch
> containes the enhanced CocoonLogFormatter which outputs more information,
> e.g.
> the current uri, thread name etc.
> So let's vote if this should go into the 2.0 branch!
> 
> I am +1 for adding this to 2.0.

+1. Seems you liked it :)
But it will need some little update at the next LogKit release which
deprecates ContextStack in favor or the new ContextMap.
> 
> Further, I want to make the log format and which formatter class is used
> configurable in the web.xml. So, next vote:
> 
> +1 for adding formatter class and formatter format to the web.xml.

I would prefer it in cocoon.xconf, as you propose in another post. IMO
web.xml should be reserved as far as possible to servlet-specific
deployment configurations.
> 
> Comments and votes are welcome.
> 
> Carsten
> 
> Open Source Group                        sunShine - b:Integrated
> ================================================================
> Carsten Ziegeler, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
> www.sundn.de                          mailto: cziegeler@sundn.de
> ================================================================
> 
-- 
Sylvain Wallez
Anyware Technologies - http://www.anyware-tech.com



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


RE: [C2][VOTE]: Logging

Posted by Kevin O'Neill <ke...@rocketred.com.au>.
Can anybody vote or only committers (I've always been a little hazy on
this) 

In any case (if my vote counts) +1 to extended logging

As far as the cocoon.xconf vs. the web.xml issue, I'm unsure. Berin
stated that logging is not a component, which may be valid, but why not,
why shouldn't I be able to set the logging information based on the
pipeline being executed.

My feeling is that the web.xml file is not the right place, so I'll say:

web.xml -1

k.


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: [C2][VOTE]: Logging

Posted by giacomo <gi...@apache.org>.
On Tue, 7 Aug 2001, Carsten Ziegeler wrote:

> I just wanted to start a vote on the logging features of C2.0. The 2.1
> branch
> containes the enhanced CocoonLogFormatter which outputs more information,
> e.g.
> the current uri, thread name etc.
> So let's vote if this should go into the 2.0 branch!
>
> I am +1 for adding this to 2.0.

+0 I don't know exactly what the CocoonLogFormatter is doing and how
stable it is.

> Further, I want to make the log format and which formatter class is used
> configurable in the web.xml. So, next vote:

I'd rather would see a LogManager like Berin proposed. But for the
moment I'll give a +0.

Giacomo

>
> +1 for adding formatter class and formatter format to the web.xml.
>
> Comments and votes are welcome.
>
>
> Carsten
>
> Open Source Group                        sunShine - b:Integrated
> ================================================================
> Carsten Ziegeler, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
> www.sundn.de                          mailto: cziegeler@sundn.de
> ================================================================
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org