Article ID: 1931, created on Jun 18, 2007, last review on Aug 11, 2016

  • Applies to:
  • Operations Automation 6.0
  • Business Automation

Symptoms

Business Automation logs may grow significantly and take considerable disk space size. In case you do not have enough disk capacity to store logs, you may need to setup log rotation.

Resolution

Business Automation for Linux

Business Automation log rotation settings are configured in the file /etc/logrotate.d/bm.logrotate on BA application host (which is a link to the file /usr/local/bm/conf/bm.logrotate).

The settings are applied to *.log files located in /usr/local/bm/log/ directory. By default, it is configured for rotating all files in ~bm/log/ with monthly cycling and saving up to 12 last archived logs, like in the example below:

/usr/local/bm/log/*.log {
        rotate 12
        compress
        monthly
        copytruncate
        notifempty
        missingok
        nocreate
        noolddir
        size 1024M
}

Additionally, rotation of store log could be configured on BA store host. Object of rotation is logfile /usr/local/bm/templatestore/logs/store.log. To add it to logrotate, create file /etc/logrotate.d/store with the following content:

/usr/local/bm/templatestore/logs/store.log {
        rotate 14
        weekly
        compress
        dateext
        postrotate
            /sbin/service httpd reload > /dev/null 2>/dev/null || true
        endscript
}

BA for Windows

In Business Automation for Windows there is only one log rotation parameter keepdays set in the file logrotate.conf located in the C:\Program Files\Parallels\PBA\etc\ssm.conf.d\ directory. For example, the following configuration sets the log rotation interval to 15 days:

[arguments]
keepdays 15

Search Words

logrotate

templatestore log files look weird

logsrv

log rotation.

logs

bm.log file is not updating

PBA cp not available

How to configure logrotation options for scheduler.log

POA license upload

Change log rotation to size parameter

Logs for scheduler and atm_service in PBA are too large

198398b282069eaf2d94a6af87dcb3ff caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 5356b422f65bdad1c3e9edca5d74a1ae 956c448bddc7e1f3585373687602379f 6f1456866eed87488c0f02b298a741c0

Email subscription for changes to this article
Save as PDF