Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

log to stderr by default #56

Merged
merged 3 commits into from
Apr 13, 2022

Conversation

categulario
Copy link
Contributor

During the administration of an installation of CKAN I found that I was expecting it to log to stderr by default.

Advantages:

  • errors are easily seen during development
  • setups that use systemd/journald can see errors where they are expected

As part of this merge request it is possible to disable stderr by setting STDERR = False. It was not possible before because the code just expected the variable to be set but didn't check its value.

@categulario
Copy link
Contributor Author

latest commit also addresses disabling of LOG_FILE as proposed in #14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants