Skip to content

/AWS1/CL_EMCCONTAINERLOGROTA00

The settings for container log rotation.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_rotationsize TYPE /AWS1/EMCROTATIONSIZE /AWS1/EMCROTATIONSIZE

The file size at which to rotate logs. Minimum of 2KB, Maximum of 2GB.

iv_maxfilestokeep TYPE /AWS1/EMCMAXFILESTOKEEP /AWS1/EMCMAXFILESTOKEEP

The number of files to keep in container after rotation.


Queryable Attributes

rotationSize

The file size at which to rotate logs. Minimum of 2KB, Maximum of 2GB.

Accessible with the following methods

Method Description
GET_ROTATIONSIZE() Getter for ROTATIONSIZE, with configurable default
ASK_ROTATIONSIZE() Getter for ROTATIONSIZE w/ exceptions if field has no value
HAS_ROTATIONSIZE() Determine if ROTATIONSIZE has a value

maxFilesToKeep

The number of files to keep in container after rotation.

Accessible with the following methods

Method Description
GET_MAXFILESTOKEEP() Getter for MAXFILESTOKEEP, with configurable default
ASK_MAXFILESTOKEEP() Getter for MAXFILESTOKEEP w/ exceptions if field has no valu
HAS_MAXFILESTOKEEP() Determine if MAXFILESTOKEEP has a value