This pull request introduces a new feature that enhances our log file management system. It enables users to efficiently group log files based on the date stored in an S3 bucket, providing a more streamlined approach to downloading log files. With date-based log grouping, instance rotations become less of a hassle. Users no longer need to check the instance names of deleted instances when downloading log files of a specific date.
How to Use:
Users can easily enable the new feature by setting the newly introduced environment variable LOG_GROUPED_BY_DATE to True. This environment variable serves as a toggle to activate the date-based grouping functionality. By default, if LOG_GROUPED_BY_DATE is not specified or set to False, the system will continue to group log files by instance ID or POD ID, ensuring backward compatibility.
Objective:
This pull request introduces a new feature that enhances our log file management system. It enables users to efficiently group log files based on the date stored in an S3 bucket, providing a more streamlined approach to downloading log files. With date-based log grouping, instance rotations become less of a hassle. Users no longer need to check the instance names of deleted instances when downloading log files of a specific date.
How to Use:
Users can easily enable the new feature by setting the newly introduced environment variable
LOG_GROUPED_BY_DATE
toTrue
. This environment variable serves as a toggle to activate the date-based grouping functionality. By default, ifLOG_GROUPED_BY_DATE
is not specified or set toFalse
, the system will continue to group log files by instance ID or POD ID, ensuring backward compatibility.