Jump to content

How to disable logging


lairdchris

Recommended Posts

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

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • 5 weeks later...

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...