# How to Convert Deprecated $ActionResumeInterval to Modern Style

Warning

The `$ActionResumeInterval` syntax is deprecated. We strongly recommend using the modern action() syntax for all new configurations.

## Modern Equivalent: action.resumeInterval

The modern equivalent for $ActionResumeInterval is the action.resumeInterval parameter. It serves the same purpose of controlling the retry interval for a failed action.

For full details and a complete list of modern action parameters, please see the primary Actions reference page.

## Quick Conversion Example

This example shows how a legacy configuration is converted to the modern style.

Before (Legacy Syntax):

    $ActionResumeInterval 30
    *.* @@192.168.0.1:514

After (Modern `action()` Syntax):

    action(type="omfwd"
           target="192.168.0.1"
           protocol="tcp"
           action.resumeInterval="30"
          )

Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project

Contributing: Source & docs: rsyslog source project

© 2008–2025 Rainer Gerhards and others. Licensed under the Apache License 2.0.