Open jasonkuhrt opened 4 years ago
Open questions:
Would santa
still use debug
Could, maybe not to keeping our codebase simpler
How would we handle/react to the DEBUG
environment variable
LOG_LEVEL=trace --> DEBUG=*
But what about this?
DEBUG=* --> LOG_LEVEL=trace | +Warning? | Error? | ...
debug
and let debug
do its native behaviourDEBUG
offers filtering solution that we might not have ourselves for unknown amount of time.
What
When enabling
DEBUG=...
we get a bunch of low-level trace-like logs from various libraries includingsanta
itselfThese logs are not structured, example:
Make this integrate into the logger system, example: be JSON, at trace level, example:
investigation will be required to understand how well we can map these things, and what the MVP is, but some points we can notice now:
debug
component path mapped to logger conceptWhy
trace
logs are verboseHow