Geoff
At 04:56 PM 6/11/2003, you wrote:
Any pointer Guys...
-----Original Message----- From: Mehra, Vishal [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 2:25 PM To: '[EMAIL PROTECTED]' Subject: RE: POI --Setting logger Level
Joerg,
Thanks for the pointer.
As I am running a standalone java application, there is no Web/Application server available to set the configuration.
Basically my java code looks like wb = new HSSFWorkbook(); sheet = wb.createSheet(fileName); HSSFRow row = sheet.createRow( (short) 0);
Is there a relative directory structure from the classes directory where I set the property for logkit.conf or any other way to tell the POI classes to use FATAL log level.
Thanks,
Vishal
-----Original Message----- From: Joerg Heinicke [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 1:44 PM To: [EMAIL PROTECTED] Subject: Re: POI --Setting logger Level
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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]