potiuk commented on PR #30367:
URL: https://github.com/apache/airflow/pull/30367#issuecomment-1490848207

   > Disabling debug logs while in debug mode would be quite ironic, and as we 
need them for debug purposes, we would need to disable them only for this very 
specific case. I don't think this case is special enough to add that much 
complexity to three methods of the settings.py module.
   
   Correct me if I am wrong, but you seem to attempt to do exactly this 
(disable debug logging while in debug mode) but you are trying to use 
completely unrelated, badly documented and warned not to 
use`_AIRFLOW__AS_LIBRARY` variable? Or am I misinterpreting your intentions? Is 
there other reason why you want to use `_AIRFLOW__AS_LIBRARY` ? Could you 
please explain why lead you to choose that variable setting. I am curious ?
   
   


-- 
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