We want to either increase log verbosity from info to debug or write better logging statements into the bot. This is going to help with triage as we continue to develop features for the bot. Logging costs should be minimal at this point so I'm inclined to support logging everything. By default, the GCP logging feature defaults to Info and below severity. There are a number of errors in our logs that we aren't able to trace back currently due to a lack of context.
We also need to remove or refactor the legacy logging config code as it is no longer correct.
We want to either increase log verbosity from info to debug or write better logging statements into the bot. This is going to help with triage as we continue to develop features for the bot. Logging costs should be minimal at this point so I'm inclined to support logging everything. By default, the GCP logging feature defaults to Info and below severity. There are a number of errors in our logs that we aren't able to trace back currently due to a lack of context.
We also need to remove or refactor the legacy logging config code as it is no longer correct.
https://github.com/Shift-Cyber/Bits/blob/c68676856b6f87f3857ecfb604709fc19db4100a/app/bot.py#L9-L25