As per the example I included, usually you'd set the log level through an env variable. This would let you boot set a deployed app to debug / trace level without redploying.
As per: 12factor.net/config
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.