Skip to main content



      Home
Home » Archived » BIRT » Custom Logger
Custom Logger [message #159303] Tue, 09 May 2006 03:35
Eclipse UserFriend
Hi,

we are using a custom Logger (based on log4j) in our Framework, of course I
want to set the logging properties only at one place for my whole project.
So it is a little bit circumstantial to wrap the log settings from our
Framework to the log settings of birt. It ends up in a code like

if (myLog.isErrorEnabled()) {
level = Level.SEVERE;
} else if (myLog.isWarnEnabled()) {
level = Level.WARNING;
// and so on

config.setLogConfig(logDir, level);

I am also unhappy to set the logDir directly, because in development-Mode
often the log-settings point to sysout and syserr.

It would be great, if there will be an availability to set
config.setLogger(myLogger) or similar.

Wolfgang
Previous Topic:Why is "onRowSets()" not called in my ReportElement?
Next Topic:Cyrillic text is always bold!
Goto Forum:
  


Current Time: Sun May 11 06:14:43 EDT 2025

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

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

Back to the top