Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Holy Log Spam batman
Holy Log Spam batman [message #85646] Mon, 31 October 2005 07:18 Go to next message
Eclipse UserFriend
Originally posted by: pcasey.earthlink.net

I've got my reports mostly working through my app server atm; deployment
turned out to be less scary than I thought it would be. I'm getting a really
huge amount of BIRT log spam though that I was hoping somebody could help me
out with. First, how do I set birt to a log level of ERROR so I don't see
the spam? I'm drawing a blank on the appropriate logger name.

Second of all, could any brave soul take a look at the (abbreviated) run
log below and tell me if there's anything in there that I should work on
fixing? I'm concerned by the huge number of SEVERE warnings which seem to
imply some sort of deficiency in my report file. Nonetheless, the output
looks right...

INFO: Data Engine starts up

line 1 column 1 - Warning: inserting missing 'title' element

line 1 column 1 - Warning: inserting missing 'title' element

Oct 30, 2005 11:10:58 PM
org.eclipse.birt.report.engine.content.impl.MasterPageConten t
initSimpleMasterPage

INFO: The property HeaderHeight is not set. Use Default 1 cm.

Oct 30, 2005 11:10:58 PM
org.eclipse.birt.report.engine.content.impl.MasterPageConten t
initSimpleMasterPage

INFO: The property FooterHeight is not set. Use default 1 cm.

line 1 column 1 - Warning: inserting missing 'title' element

Oct 30, 2005 11:10:58 PM org.eclipse.birt.data.engine.odaconsumer.Driver
setLogConfiguration

INFO: ODA driver does not have valid trace logging defined in the plug-in
..options or plugin.xml file.

Oct 30, 2005 11:10:59 PM
org.eclipse.birt.report.data.oda.jdbc.JDBCDriverManager loadDriverExtensions

INFO: Found JDBC driverinfo extension:
driverClass=sun.jdbc.odbc.JdbcOdbcDriver, connectionFactory=null

Oct 30, 2005 11:10:59 PM
org.eclipse.birt.report.data.oda.jdbc.JDBCDriverManager loadDriverExtensions

INFO: Found JDBC driverinfo extension:
driverClass=org.apache.derby.jdbc.EmbeddedDriver, connectionFactory=null

Oct 30, 2005 11:10:59 PM
org.eclipse.birt.report.data.oda.jdbc.JDBCDriverManager
loadAndRegisterDriver

INFO: Loading JDBC driver class: com.mysql.jdbc.Driver

Oct 30, 2005 11:10:59 PM
org.eclipse.birt.report.data.oda.jdbc.JDBCDriverManager
loadAndRegisterDriver

INFO: Loaded JDBC driver class in class path: com.mysql.jdbc.Driver

Oct 30, 2005 11:11:02 PM org.apache.avalon.framework.logger.Jdk14Logger info

INFO: Using org.apache.xerces.parsers.SAXParser as SAX2 Parser

Oct 30, 2005 11:11:02 PM org.apache.avalon.framework.logger.Jdk14Logger info

INFO: Using org.apache.xerces.parsers.SAXParser as SAX2 Parser

Oct 30, 2005 11:11:04 PM org.apache.avalon.framework.logger.Jdk14Logger info

INFO: Using org.apache.xerces.parsers.SAXParser as SAX2 Parser

Oct 30, 2005 11:11:04 PM org.apache.avalon.framework.logger.Jdk14Logger info

INFO: building formatting object tree

Oct 30, 2005 11:11:04 PM org.apache.avalon.framework.logger.Jdk14Logger info

INFO: setting up fonts

Oct 30, 2005 11:11:04 PM org.apache.avalon.framework.logger.Jdk14Logger
error

SEVERE: property - "text-transform" is not implemented yet.

Oct 30, 2005 11:11:04 PM org.apache.avalon.framework.logger.Jdk14Logger
error

SEVERE: Error in letter-spacing property value 'normal':
org.apache.fop.fo.expr.PropertyException: No conversion defined

Oct 30, 2005 11:11:04 PM org.apache.avalon.framework.logger.Jdk14Logger
error

SEVERE: property - "word-spacing" is not implemented yet.

Oct 30, 2005 11:11:04 PM org.apache.avalon.framework.logger.Jdk14Logger
error

SEVERE: Error in column-width property value '50%':
org.apache.fop.fo.expr.PropertyException: No conversion defined

(Repeated 50 times)

Oct 30, 2005 11:11:04 PM org.apache.avalon.framework.logger.Jdk14Logger info

INFO: [1]

Oct 30, 2005 11:11:04 PM org.apache.avalon.framework.logger.Jdk14Logger
error

SEVERE: At least one of minimum, optimum, or maximum IPD must be specified
on table.

(Repeated 50 times)

INFO: Parsing of document complete, stopping renderer

Oct 30, 2005 11:11:07 PM org.eclipse.birt.data.engine.impl.DataEngineImpl
shutdown

INFO: Data engine shuts down
Re: Holy Log Spam batman [message #85766 is a reply to message #85646] Mon, 31 October 2005 16:21 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Patrick,
Wenbin posted this earlier:
+++++++++++++++++++++++++++++++++++++
If you write your app using BIRT, you can set the engine log directory and
level through the following code:
....
EngineConfig config = new EngineConfig( );
String logDirectory = "myloggingfolder/";
config.setLogConfig( logDirectory, java.util.logging.Level.INFO );
....

If you use viewer, you can directly set the log folder in viewer web.xml.
By default, the log file will be writen to $BIRT viewer/logs folder.

Currently you can't control the log level. We will add this in BIRT 2.0 M3
build.

-Wenbin He
++++++++++++++++++++++++++++++++++++++

Jason Weathersby
BIRT PMC

"Patrick Casey" <pcasey@earthlink.net> wrote in message
news:dk4ggd$eb9$1@news.eclipse.org...
>
> I've got my reports mostly working through my app server atm;
> deployment turned out to be less scary than I thought it would be. I'm
> getting a really huge amount of BIRT log spam though that I was hoping
> somebody could help me out with. First, how do I set birt to a log level
> of ERROR so I don't see the spam? I'm drawing a blank on the appropriate
> logger name.
>
> Second of all, could any brave soul take a look at the (abbreviated)
> run log below and tell me if there's anything in there that I should work
> on fixing? I'm concerned by the huge number of SEVERE warnings which seem
> to imply some sort of deficiency in my report file. Nonetheless, the
> output looks right...
>
> INFO: Data Engine starts up
>
> line 1 column 1 - Warning: inserting missing 'title' element
>
> line 1 column 1 - Warning: inserting missing 'title' element
>
> Oct 30, 2005 11:10:58 PM
> org.eclipse.birt.report.engine.content.impl.MasterPageConten t
> initSimpleMasterPage
>
> INFO: The property HeaderHeight is not set. Use Default 1 cm.
>
> Oct 30, 2005 11:10:58 PM
> org.eclipse.birt.report.engine.content.impl.MasterPageConten t
> initSimpleMasterPage
>
> INFO: The property FooterHeight is not set. Use default 1 cm.
>
> line 1 column 1 - Warning: inserting missing 'title' element
>
> Oct 30, 2005 11:10:58 PM org.eclipse.birt.data.engine.odaconsumer.Driver
> setLogConfiguration
>
> INFO: ODA driver does not have valid trace logging defined in the plug-in
> .options or plugin.xml file.
>
> Oct 30, 2005 11:10:59 PM
> org.eclipse.birt.report.data.oda.jdbc.JDBCDriverManager
> loadDriverExtensions
>
> INFO: Found JDBC driverinfo extension:
> driverClass=sun.jdbc.odbc.JdbcOdbcDriver, connectionFactory=null
>
> Oct 30, 2005 11:10:59 PM
> org.eclipse.birt.report.data.oda.jdbc.JDBCDriverManager
> loadDriverExtensions
>
> INFO: Found JDBC driverinfo extension:
> driverClass=org.apache.derby.jdbc.EmbeddedDriver, connectionFactory=null
>
> Oct 30, 2005 11:10:59 PM
> org.eclipse.birt.report.data.oda.jdbc.JDBCDriverManager
> loadAndRegisterDriver
>
> INFO: Loading JDBC driver class: com.mysql.jdbc.Driver
>
> Oct 30, 2005 11:10:59 PM
> org.eclipse.birt.report.data.oda.jdbc.JDBCDriverManager
> loadAndRegisterDriver
>
> INFO: Loaded JDBC driver class in class path: com.mysql.jdbc.Driver
>
> Oct 30, 2005 11:11:02 PM org.apache.avalon.framework.logger.Jdk14Logger
> info
>
> INFO: Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
>
> Oct 30, 2005 11:11:02 PM org.apache.avalon.framework.logger.Jdk14Logger
> info
>
> INFO: Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
>
> Oct 30, 2005 11:11:04 PM org.apache.avalon.framework.logger.Jdk14Logger
> info
>
> INFO: Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
>
> Oct 30, 2005 11:11:04 PM org.apache.avalon.framework.logger.Jdk14Logger
> info
>
> INFO: building formatting object tree
>
> Oct 30, 2005 11:11:04 PM org.apache.avalon.framework.logger.Jdk14Logger
> info
>
> INFO: setting up fonts
>
> Oct 30, 2005 11:11:04 PM org.apache.avalon.framework.logger.Jdk14Logger
> error
>
> SEVERE: property - "text-transform" is not implemented yet.
>
> Oct 30, 2005 11:11:04 PM org.apache.avalon.framework.logger.Jdk14Logger
> error
>
> SEVERE: Error in letter-spacing property value 'normal':
> org.apache.fop.fo.expr.PropertyException: No conversion defined
>
> Oct 30, 2005 11:11:04 PM org.apache.avalon.framework.logger.Jdk14Logger
> error
>
> SEVERE: property - "word-spacing" is not implemented yet.
>
> Oct 30, 2005 11:11:04 PM org.apache.avalon.framework.logger.Jdk14Logger
> error
>
> SEVERE: Error in column-width property value '50%':
> org.apache.fop.fo.expr.PropertyException: No conversion defined
>
> (Repeated 50 times)
>
> Oct 30, 2005 11:11:04 PM org.apache.avalon.framework.logger.Jdk14Logger
> info
>
> INFO: [1]
>
> Oct 30, 2005 11:11:04 PM org.apache.avalon.framework.logger.Jdk14Logger
> error
>
> SEVERE: At least one of minimum, optimum, or maximum IPD must be specified
> on table.
>
> (Repeated 50 times)
>
> INFO: Parsing of document complete, stopping renderer
>
> Oct 30, 2005 11:11:07 PM org.eclipse.birt.data.engine.impl.DataEngineImpl
> shutdown
>
> INFO: Data engine shuts down
>
>
Re: Holy Log Spam batman [message #85797 is a reply to message #85766] Mon, 31 October 2005 17:17 Go to previous message
Eclipse UserFriend
Originally posted by: pcasey.earthlink.net

Thanks Jason, that cleaned up about 99% of the log results although even
with the log turned off I'm still seeing:

line 1 column 1 - Warning: inserting missing 'title' element



Maybe somebody still has a system.out.println() in the code somewhere?
Either way, I can live with 3 warns per report, it's a hundredfold better
than before I put in you suggestion.



--- Pat

"Jason Weathersby" <jweathersby@actuate.com> wrote in message
news:dk5gas$okt$1@news.eclipse.org...
> Patrick,
> Wenbin posted this earlier:
> +++++++++++++++++++++++++++++++++++++
> If you write your app using BIRT, you can set the engine log directory and
> level through the following code:
> ...
> EngineConfig config = new EngineConfig( );
> String logDirectory = "myloggingfolder/";
> config.setLogConfig( logDirectory, java.util.logging.Level.INFO );
> ...
>
> If you use viewer, you can directly set the log folder in viewer web.xml.
> By default, the log file will be writen to $BIRT viewer/logs folder.
>
> Currently you can't control the log level. We will add this in BIRT 2.0 M3
> build.
>
> -Wenbin He
> ++++++++++++++++++++++++++++++++++++++
>
> Jason Weathersby
> BIRT PMC
>
<snip>
Previous Topic:Display mutiple rows in multiple page
Next Topic:Header not resizing to match body
Goto Forum:
  


Current Time: Wed Feb 05 14:10:42 GMT 2025

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

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

Back to the top