Verbose Logging

Hi All,

Not sure if this is posted in the right place but maybe someone has run across this issue.

On our development server we were running out of space and we noticed that the verbose logging file was eating up space. How is this file used in BO? Do we need this logging to be turned on for any reason?

And finally how do you turn this logging off?

Any help will be greatly appreciated
Thanks,
Lisa


lisakrebs (BOB member since 2010-03-03)

Tracing is enabled in one of two ways:

  1. Adding “-trace” to the end of the command line for each service (set in CCM for XIr2 or CMC for XI3)
  2. Setting “BO_TRACE_CONFIG*” system environment variables and an associated bo_trace.ini file. If this is in use, you can change or disable the tracing by editing bo_trace.ini (set active=false to disable).

Note that both methods could be in use at the same time.

Joe


joepeters :us: (BOB member since 2002-08-29)

Thanks Joe.

Have 2 additional questions:

  1. If I turn off this logging what will that do?
  2. I can’t seem to fine where you are talking about in the CMC. Our shop is XI3. Could you tell me where to go in the CMC to verify this logging?

Thanks,
Lisa


lisakrebs (BOB member since 2010-03-03)

You won’t get any log files :slight_smile: No change to system capabilities, if that’s what you mean.

In CMC, go to Servers. Go to the Properties of each server (or at least each one that’s generating logs). On Properties, scroll down the command line parameters. Note that “-trace” can be anywhere in the command line.

Joe


joepeters :us: (BOB member since 2002-08-29)

[Moderator Note: Moved from WebIntelligence XI to CMC]


Marek Chladny :slovakia: (BOB member since 2003-11-27)

You might want to just delete the old log files. After a while they aren’t much good from an information stand point.

You may have some company guidelines that say how long you should keep the log files or you can just look at your usage of Business Objects and decide how long it is practical to keep them. The length of time you need to keep them may be different for every installation as requirements may be different.

Is there any way to set up the logging so the log files are automatically deleted when they are a certain age? Or must this be done manually?


bkaporch1 (BOB member since 2011-09-28)

See this post for some code that you can use to create an executable file and then schedule to run: https://bobj-board.org/t/186192