awx icon indicating copy to clipboard operation
awx copied to clipboard

Remove the dynamic log level filter for the dispatcherd main process

Open AlanCoding opened this issue 2 weeks ago • 1 comments

SUMMARY

Right now, it looks like logs will respect the dynamic_level_filter, and this is a bad thing, and was never intended. Because doing this means talking to postgres, and that has no async version, which means that it will likely create a new synchronous connection in asyncio code, which is very bad, although it might be kind of working for now.

This sets the dynamic log level only on startup, and then just to be sure, closes the connection.

I will put up a separate proposal for on-the-fly adjustments of the log level which I argue should be done by memory modification via a task (formally a control task), which the dispatcherd process, specifically, has facilities to allow.

ISSUE TYPE
  • Bug, Docs Fix or other nominal change
COMPONENT NAME
  • API

AlanCoding avatar Dec 09 '25 20:12 AlanCoding