Where does logger output go? [message #176300] |
Mon, 10 July 2006 17:18  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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);
>> }
>>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.08706 seconds