You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should allow node-owner to decide where to see/keep the logs.
Proposal: Refactor logging module such:
have env LOG_LEVEL decide what logs are activated (no matter if NODE_ENV is production or development). If LOG_LEVEL is not defined, then if NODE_ENV='production' -> LOG_LEVEL=info, else LOG_LEVEL=DEBUG
if env LOG_CONSOLE is True, then all logs should be displayed on the console
if env LOG_FILES is True, then all logs should be save in log fines
if env LOG_DB is True and we have noSQL db, then all logs should be saved in noSQL db
If none of LOG_CONSOLE, LOG_FILES, LOG_DB are set the we default to console
Default for casual user will be set in the yaml file (will not be set in code) would be LOG_DB: true and LOG_LEVEL: ERROR
The text was updated successfully, but these errors were encountered:
We should allow node-owner to decide where to see/keep the logs.
Proposal: Refactor logging module such:
If none of LOG_CONSOLE, LOG_FILES, LOG_DB are set the we default to console
Default for casual user will be set in the yaml file (will not be set in code) would be LOG_DB: true and LOG_LEVEL: ERROR
The text was updated successfully, but these errors were encountered: