lairdchris Posted January 3, 2011 Share Posted January 3, 2011 Hi all,is there a way to prevent iReport logging to <user_dir>/.ireport/var/log/messages.log?In our Windows environment, there is a quota set for the user profile, and iReport regularly exceeds the defined size.How can I stop iReport from logging at all? Or is there a way to move messages.log into another directory?Regards,Chris Link to comment Share on other sites More sharing options...
mdahlman Posted January 4, 2011 Share Posted January 4, 2011 I'm pretty sure the place that you can control this is in ireport/etc/ireport.conf.But I don't know the setting that you need to override the default. I would begin by Googling startup parameters or logging parameters for NetBeans.Regards,Matt Link to comment Share on other sites More sharing options...
lairdchris Posted February 3, 2011 Author Share Posted February 3, 2011 I solved the problem by adding-J-Djava.util.logging.config.file='logging.properties'to the Default Options in etc/ireport.conf.This file does not exist in my case, so all logging goes to the console. If you prefer to find the logging somewhere, you can configure this in logging.properties.Chris Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now