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

   ### Apache Airflow version
   
   2.9.2
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   When webserver logs are enabled they do not show failed login attempts. In 
the docker logs a message does flash by with the failed login attempt, but it 
does not get logged in the webserver log file.
   
   ### What you think should happen instead?
   
   Ideally within the webserver log file a HTTP response 401 gets logged that 
can be used with fail2ban
   
   ### How to reproduce
   
   In the configuration set an access_logfile under [webserver]
   try to login to the Web UI with invalid credentials.
   Take a look at the docker logs for the webserver and compare with the 
webserver log file. 
   The line where the login fails is not in the webserver log file.
   
   ### Operating System
   
   Ubuntu 22.04
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Docker-Compose
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] 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