v.25.7Improvement

Add logs for S3Queue shutdown process

Add logs for S3Queue shutdown process. #83163 (Kseniia Sumarokova).
Added detailed logging for the S3Queue shutdown process to improve observability and debugging.

Why it matters

This feature enhances the visibility of the S3Queue component's shutdown sequence, helping users diagnose issues related to S3 queue termination and ensuring smoother shutdown operations.

How to use it

The enhanced logging is enabled by default during the S3Queue shutdown process. Users can monitor the logs to track shutdown stages and identify potential problems without requiring additional configuration.