Rotate Error/Event Log

AMPS provides the following module for rotating log files and loads this module by default:

Module Name
Does

amps-action-do-rotate-logs

Rotates logs that are older than a specified age, for log types that support log rotation. Rotating a log involves closing the log and opening the next log in sequence.

AMPS will use the name specifier provided in the AMPS configuration for the new log file. This may overwrite the current log file if the specifier results in the same name as the current log file.

This module does not require options.

This module does not add any variables to the AMPS context.

Last updated

Copyright 2013-2024 60East Technologies, Inc.