ivarec opened a new issue, #28778:
URL: https://github.com/apache/airflow/issues/28778

   ### Apache Airflow version
   
   2.5.0
   
   ### What happened
   
   I've noticed that my Airflow Scheduler logs are full of the following 
message:
   
       Trimming airflow logs to 15 days.
       Trimming airflow logs to 15 days.
       ...
   
   My deployment uses the Helm chart, so it's probably specific to the Docker 
related assets.
   This script has a loop where every 60 seconds it will delete old log files. 
However, on every activation, the part where it prints the 
   log message and deletes the file is burst a few hundred times in less than a 
second. The cycle repeats.
   
   ### What you think should happen instead
   
   It should only print one log message (and delete files once) on every cycle.
   
   ### How to reproduce
   
   Just comment out the lines regarding the actual file deletion and run it in 
any bash shell. It should get triggered after 15 minutes.
   
   ### Operating System
   
   openSUSE Tumbleweed
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Official Apache Airflow Helm Chart
   
   ### Deployment details
   
   _No response_
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to