Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
LOG4J for BIRT ODA plugin
srisaibabu
Hello BIRT Guru's,
My task is to implement log4j for BIRT ODA plugin.
Any suggestions would be very helpful.
Regards,
Sri Sai
Find more posts tagged with
Comments
mwilliams
If you go to start a new project, under BIRT, you'll find the ODA wizard projects, that'll help you with the initial setup. From there, downloading the source for one of the default ODA's would help you figure out more about where to do what. What do you send your log output to? Not just a flat file that you can use the standard flat file ODA for?
srisaibabu
Hi William,
Thanks for your quick reply.
My problem is to use log4j in my ODA plugin. I tried to integrate it by creating a log4j.properties file and invoke my application by specifying runtime parameter like shown below:
-Djava.util.logging.config.file=log4j.properties
but it seems that logs are not generated on console and not written in file as well.
I have no problem if you would suggest me to integtate java.util.logging.
Please suggest some approach for the same.
Thanks in advance,
mwilliams
Oh. My mistake. So, you're trying to integrate logging into an ODA that you're writing? Or you just want logging in your report?
Here is a post about using log4j with BIRT:
FAQ in Eclipse.org wiki ->
http://wiki.eclipse.org/BIRT/FAQ/Deployment#Q:_Can_I_use_Log4j_with_BIRT.3F
-> and a forum that talks about it.
http://www.birt-exchange.org/org/forum/index.php/topic/13999-birt-logging-using-log4j/
srisaibabu
Hi Williams,
Yes, am trying to implement logging into ODA.
Regards,
Sri Sai