You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Stuart Zakon <St...@optionable.com> on 2001/01/26 17:33:21 UTC

MessageHandler default change

The current default for the MessageHandler is 
  private static int outputMethod = SCREEN;

It would be nice if this were set to NONE by default
and then CommandLine or XalanCommandLine could 
explicitly turn it on.

This would help folks who are embedding FOP into
servlet engines and don't necessarily want to see
verbose logging of repetitive information. This
shows up in the WebLogic console for instance.


Stuart Zakon
Objects by Design
www.objectsbydesign.com


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


RE: MessageHandler default change

Posted by Fotis Jannidis <fo...@lrz.uni-muenchen.de>.
I have to admit, that at the moment I am only convinced that we 
should update the embedding documentation as fast as possible  
and add a note about the MessageHandler (Hopefully this will 
make it into the next release), but on the other hand my conviction 
is not very firmly rooted.

Fotis



> Figuring out what you need to do to set the debug output to None
> takes time. Especially when there is a lack of documentation.
> 
> Since the output is basically debug code and folks are going to 
> start to use FOP embedded in production servlets, why not just 
> make it easier in the default case? 
> 
> Stuart
> 
> -----Original Message-----
> From: Fotis Jannidis [mailto:fotis.jannidis@lrz.uni-muenchen.de]
> Sent: Friday, January 26, 2001 4:49 PM
> To: fop-dev@xml.apache.org
> Subject: Re: MessageHandler default change
> 
> 
> Not sure I understand this request: If you are embedding Fop 
> anyway, why don't you set the outputMethod to NONE in your 
> code? I am also not sure that anybody would expect that output is 
> NONE by default.
> 
> Fotis
> 
> Send reply to:  	fop-dev@xml.apache.org
> From:           	"Stuart Zakon" <St...@optionable.com>
> To:             	<fo...@xml.apache.org>
> Subject:        	MessageHandler default change
> Date sent:      	Fri, 26 Jan 2001 11:33:21 -0500
> 
> > The current default for the MessageHandler is 
> >   private static int outputMethod = SCREEN;
> > 
> > It would be nice if this were set to NONE by default
> > and then CommandLine or XalanCommandLine could 
> > explicitly turn it on.
> > 
> > This would help folks who are embedding FOP into
> > servlet engines and don't necessarily want to see
> > verbose logging of repetitive information. This
> > shows up in the WebLogic console for instance.
> > 
> > 
> > Stuart Zakon
> > Objects by Design
> > www.objectsbydesign.com
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
> > For additional commands, email: fop-dev-help@xml.apache.org
> > 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
> For additional commands, email: fop-dev-help@xml.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
> For additional commands, email: fop-dev-help@xml.apache.org
> 



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


RE: MessageHandler default change

Posted by Stuart Zakon <St...@optionable.com>.
Figuring out what you need to do to set the debug output to None
takes time. Especially when there is a lack of documentation.

Since the output is basically debug code and folks are going to 
start to use FOP embedded in production servlets, why not just 
make it easier in the default case? 

Stuart

-----Original Message-----
From: Fotis Jannidis [mailto:fotis.jannidis@lrz.uni-muenchen.de]
Sent: Friday, January 26, 2001 4:49 PM
To: fop-dev@xml.apache.org
Subject: Re: MessageHandler default change


Not sure I understand this request: If you are embedding Fop 
anyway, why don't you set the outputMethod to NONE in your 
code? I am also not sure that anybody would expect that output is 
NONE by default.

Fotis

Send reply to:  	fop-dev@xml.apache.org
From:           	"Stuart Zakon" <St...@optionable.com>
To:             	<fo...@xml.apache.org>
Subject:        	MessageHandler default change
Date sent:      	Fri, 26 Jan 2001 11:33:21 -0500

> The current default for the MessageHandler is 
>   private static int outputMethod = SCREEN;
> 
> It would be nice if this were set to NONE by default
> and then CommandLine or XalanCommandLine could 
> explicitly turn it on.
> 
> This would help folks who are embedding FOP into
> servlet engines and don't necessarily want to see
> verbose logging of repetitive information. This
> shows up in the WebLogic console for instance.
> 
> 
> Stuart Zakon
> Objects by Design
> www.objectsbydesign.com
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
> For additional commands, email: fop-dev-help@xml.apache.org
> 



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



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


Re: MessageHandler default change

Posted by Fotis Jannidis <fo...@lrz.uni-muenchen.de>.
Not sure I understand this request: If you are embedding Fop 
anyway, why don't you set the outputMethod to NONE in your 
code? I am also not sure that anybody would expect that output is 
NONE by default.

Fotis

Send reply to:  	fop-dev@xml.apache.org
From:           	"Stuart Zakon" <St...@optionable.com>
To:             	<fo...@xml.apache.org>
Subject:        	MessageHandler default change
Date sent:      	Fri, 26 Jan 2001 11:33:21 -0500

> The current default for the MessageHandler is 
>   private static int outputMethod = SCREEN;
> 
> It would be nice if this were set to NONE by default
> and then CommandLine or XalanCommandLine could 
> explicitly turn it on.
> 
> This would help folks who are embedding FOP into
> servlet engines and don't necessarily want to see
> verbose logging of repetitive information. This
> shows up in the WebLogic console for instance.
> 
> 
> Stuart Zakon
> Objects by Design
> www.objectsbydesign.com
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
> For additional commands, email: fop-dev-help@xml.apache.org
> 



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