Closed fwextensions closed 2 years ago
What if, instead of a dev-specific env var, we make a more generic DATABASE_LOGGING env var, and use it on both dev and production, with appropriate fallbacks to true/false in the respective environments?
That might be useful for doing quick debugging on production as well...
Sounds good. It was only logging on dev, so limited it to that.
Updated to apply the DATABASE_LOGGING
flag to every environment, with different defaults for each.
DATABASE_DEV_LOGGING
tofalse
can clean up the console logs when debugging other things.