Skip to content
This repository was archived by the owner on May 21, 2021. It is now read-only.

Support logging to console#5

Open
danquah wants to merge 2 commits intosearch-node:developmentfrom
reload:feature/console-json-logging
Open

Support logging to console#5
danquah wants to merge 2 commits intosearch-node:developmentfrom
reload:feature/console-json-logging

Conversation

@danquah
Copy link

@danquah danquah commented Jan 21, 2019

This PR makes it possible to switch the logging to standard out/error logging to better support deploying a search_node in a Docker-container.

The original file-based logging is used as a default so existing deployments should not be affected.

Notice: a nearly identical PR has been made against os2display/middleware: os2display/middleware#5

Default to using file-based logging, but now offer a mode where everything is
logged to console.

Error-statements are logged to standard-error, everything else goes to standard-
out.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant