Interface ContainerLogRotationConfiguration.Builder

  • Method Details

    • rotationSize

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

      Parameters:
      rotationSize - The file size at which to rotate logs. Minimum of 2KB, Maximum of 2GB.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxFilesToKeep

      ContainerLogRotationConfiguration.Builder maxFilesToKeep(Integer maxFilesToKeep)

      The number of files to keep in container after rotation.

      Parameters:
      maxFilesToKeep - The number of files to keep in container after rotation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.