Logrotate Plugin

Purpose

Most plugins provide their own log rotation. For those that don't, this package will optionally manage the rotation.

Usage

To activate logrotation on a plugin's log files, simply create a file .rotate inside the target /opt/ardexa/logs directory, e.g. /opt/ardexa/logs/table/source/.rotate.

Troubleshooting

A logrotate configuration file /etc/logrotate.d/ardexa-plugins is generated by an hourly cron script, /etc/cron.hourly/generate-plugin-logrotate.

Last updated