Some of the debug calls are namespaced with the app name, e.g. my-cool-app:boot and my-cool-app:auth. Others are just top-level loggers, e.g. oauth and sql. We should namespace all debug calls so that all debugging info can be easily switched on with DEBUG=my-cool-app:*. Note this is more selective than DEBUG=*, which includes thousands of lines of debug code from dependencies e.g. Babel.
Some of the
debug
calls are namespaced with the app name, e.g.my-cool-app:boot
andmy-cool-app:auth
. Others are just top-level loggers, e.g.oauth
andsql
. We should namespace alldebug
calls so that all debugging info can be easily switched on withDEBUG=my-cool-app:*
. Note this is more selective thanDEBUG=*
, which includes thousands of lines of debug code from dependencies e.g. Babel.