Bug 174032 - Logging Standard Implementation
Summary: Logging Standard Implementation
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.2.0   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: Future   Edit
Assignee: xingjie he CLA
QA Contact:
URL:
Whiteboard:
Keywords: plan
Depends on:
Blocks:
 
Reported: 2007-02-13 12:35 EST by Scott Rosenbaum CLA
Modified: 2007-05-29 00:42 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Rosenbaum CLA 2007-02-13 12:35:30 EST
It seems like each of the BIRT project uses subtly different implementation of logging.  As I write code to extend/integrate BIRT, I want my logging to be a natural extension of the BIRT logging that all ready exists (this includes DTP).  

I know how to introduce my own logging mechanisms (i.e. Log4j, commons.logging, etc.) but I would really like to leverage any logging framework all ready in place for BIRT.  I am relatively confident that there is a good way to do this, I just don't know it yet

Example documentation that shows logging best practices would be extremely useful.
Comment 1 Scott Rosenbaum CLA 2007-02-16 10:07:22 EST
I have thought about this some more, and have a proposal for an enhancement.  It would be very useful, if there were pages within the Window => Preferences => Report Design entitled Logging.  Within this page the user could configure one or more login handlers and one or more package loggers.  The default implementation would be set up with reasonable attributes for various existing BIRT packages (DTP, Scripting, Core...) and the user could add additional packages for their own classes.  

I would recommend doing this using the java.util.logging implementation.  

A use case would be for the user 
a) To first add/modify the login handlers
b) Create new package loggers as needed and then for the package logger set:
   Level
   Format pattern or formatter class 
   Configuration file location
   Handlers
Comment 2 Ivy Li CLA 2007-05-22 04:05:29 EDT
New feature, consider to support in next release.
Comment 3 Wenfeng Li CLA 2007-05-29 00:42:37 EDT
add plan key word for 2.3/3.0 release planing.