Skip to main content



      Home
Home » Archived » BIRT » Where does logger output go?
Where does logger output go? [message #176300] Mon, 10 July 2006 17:18 Go to next message
Eclipse UserFriend
When I preview this in the Report Designer, where does the "logger"
output go? I've looked in the console and the following directory:

$ECLIPSE$\plugins\org.eclipse.birt.report.viewer_2.1.0.N2006 0628-1351\birt\logs


function beforeDrawDataPoint(dataPointHints, fill, isce){
logger = isce.getLogger();

val = dataPointHints.getOrthogonalValue();

logger.log(1, "val is " + val);
}
Re: Where does logger output go? [message #176343 is a reply to message #176300] Mon, 10 July 2006 22:44 Go to previous messageGo to next message
Eclipse UserFriend
Did you look at setting these two entries:

<context-param>
<param-name>BIRT_VIEWER_LOG_DIR</param-name>
<param-value>FINE</param-value>
</context-param>

<!-- Report engine log level -->
<context-param>
<param-name>BIRT_VIEWER_LOG_LEVEL</param-name>
<param-value>ON</param-value>
</context-param>

in
\plugins\org.eclipse.birt.report.viewer_2.1.0.N20060628-1351 \birt\WEB-INF\web.xml

The log should be showing up in:
\plugins\org.eclipse.birt.report.viewer_2.1.0.N20060628-1351 \birt\logs

Jason

"George Handin" <eclipse@dafunks.com> wrote in message
news:e8ug6n$jmb$1@utils.eclipse.org...
> When I preview this in the Report Designer, where does the "logger" output
> go? I've looked in the console and the following directory:
>
> $ECLIPSE$\plugins\org.eclipse.birt.report.viewer_2.1.0.N2006 0628-1351\birt\logs
>
>
> function beforeDrawDataPoint(dataPointHints, fill, isce){
> logger = isce.getLogger();
>
> val = dataPointHints.getOrthogonalValue();
>
> logger.log(1, "val is " + val);
> }
>
Re: Where does logger output go? [message #176471 is a reply to message #176343] Tue, 11 July 2006 08:44 Go to previous message
Eclipse UserFriend
According to the comments in the web.xml, the BIRT_VIEWER_LOG_DIR value
should be left empty to go to the default directory. I set the
BIRT_VIEWER_LOG_LEVEL to FINE.

When I preview the report in the Report Designer, I get a lot of
messages but none from the following code snippet:

function beforeDrawDataPoint(dataPointHints, fill, isce){
seriesText = dataPointHints.getSeriesDisplayValue()
logger = isce.getLogger()
logger.log(1, "Series = " + seriesText)
}


Jason Weathersby wrote:
> Did you look at setting these two entries:
>
> <context-param>
> <param-name>BIRT_VIEWER_LOG_DIR</param-name>
> <param-value>FINE</param-value>
> </context-param>
>
> <!-- Report engine log level -->
> <context-param>
> <param-name>BIRT_VIEWER_LOG_LEVEL</param-name>
> <param-value>ON</param-value>
> </context-param>
>
> in
> \plugins\org.eclipse.birt.report.viewer_2.1.0.N20060628-1351 \birt\WEB-INF\web.xml
>
> The log should be showing up in:
> \plugins\org.eclipse.birt.report.viewer_2.1.0.N20060628-1351 \birt\logs
>
> Jason
>
> "George Handin" <eclipse@dafunks.com> wrote in message
> news:e8ug6n$jmb$1@utils.eclipse.org...
>> When I preview this in the Report Designer, where does the "logger" output
>> go? I've looked in the console and the following directory:
>>
>> $ECLIPSE$\plugins\org.eclipse.birt.report.viewer_2.1.0.N2006 0628-1351\birt\logs
>>
>>
>> function beforeDrawDataPoint(dataPointHints, fill, isce){
>> logger = isce.getLogger();
>>
>> val = dataPointHints.getOrthogonalValue();
>>
>> logger.log(1, "val is " + val);
>> }
>>
>
>
Previous Topic:Exception at at com.lowagie.text.pdf.BaseFont.normalizeEncoding(Unknown Source)
Next Topic:BIRT 2.1 - Failing to genrate PDF in case of Table & Grid
Goto Forum:
  


Current Time: Mon Jul 14 14:33:37 EDT 2025

Powered by FUDForum. Page generated in 0.08706 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top