You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Mehra, Vishal" <vm...@inovant.com> on 2003/06/10 22:16:17 UTC

POI --Setting logger Level

I have a  java application which executes dynamic SQL and based on the result set generates appropriate .XLS file. This java application internally uses cocoon and poi libraries to generate the Excel file. 

By default, for each cell generation approximately 10 lines are getting printed on the console. As, I have a large Excel file, generation of this file is taking a very long time. It appears the debug level is set to DEBUG (if not specified)

Is there a POI api to set the log level to FATAL which will reduce the number of log message displayed. 
Otherwise is there a way to dump the output to a file, instead of the console.
 
Thanks,
 
Vishal

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


Re: POI --Setting logger Level

Posted by Joerg Heinicke <jo...@gmx.de>.
Hello Vishal,

the HSSFSerializer has a logger in its configuration in the sitemap (at 
least you can set one). The log level can then be configured in the 
logkit.xconf.

http://wiki.cocoondev.org/Wiki.jsp?page=ExploringTheLogs

Joerg

Mehra, Vishal wrote:
> I have a  java application which executes dynamic SQL and based on the result set generates appropriate .XLS file. This java application internally uses cocoon and poi libraries to generate the Excel file. 
> 
> By default, for each cell generation approximately 10 lines are getting printed on the console. As, I have a large Excel file, generation of this file is taking a very long time. It appears the debug level is set to DEBUG (if not specified)
> 
> Is there a POI api to set the log level to FATAL which will reduce the number of log message displayed. 
> Otherwise is there a way to dump the output to a file, instead of the console.
>  
> Thanks,
>  
> Vishal


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