Automation Engine v12 introduced memory tracing, therefore there is an additional keyword to set log rotation.
TIME EVENT: EVNT.ROLLING_TRACE_START
********************************
EVNT.ROLLING_TRACE_START - Event tab
********************************
Check Intervals of: X minutes
Check: Repeated
********************************
EVNT.ROLLING_TRACE_START - Process tab
********************************
!
! Turn On
!
!Set a TCP/IP=2 and DB=4 trace on the WPs
!Get System Name
!Turn on tracing for WPs
!Turn on tracing for single CP - Before # sign is the System name, after # sign is CPxxx where xxx is the CP number
!Example:
!Set a TCP/IP=9 trace on the Agent - <Agent Name> needs to change to reflect actual agent
!Turn on tracing
********************************
EVNT.ROLLING_TRACE_START - !Process tab
Note: The !Process in v12.0 can be seen in the Java UI, but in AWI this is the "Event Process."
********************************
!
! Turn off
!
!Set a DB=4 and TCP/IP=2 trace on the WPs
!Get System Name
!Turn off tracing for WPs
!Turn off tracing for single CP - Before # sign is the System name, after # sign is CPxxx where xxx is the CP number
!Turn off agent tracing
!
! Turn Back On
!
!Set a DB=4 and TCP/IP=2 trace on the WPs
!Get System Name
!Turn on tracing for WPs
!Turn on tracing for single CP - Before # sign is the System name, after # sign is CPxxx where xxx is the CP number
!Turn on agent tracing
SCRIPT: SCRI.STOP_ROLLING_TRACE
********************************
SCRI.STOP_ROLLING_TRACE - Process tab
********************************
!
! Turn off
!
!Set a DB=4 and TCP/IP=2 trace on the WPs
!Get System Name
!Turn off tracing for WPs
!Turn off tracing for single CP - Before # sign is the System name, after # sign is CPxxx where xxx is the CP number
!Turn off agent tracing