Use syslog to capture the build log #270
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Replaces the old way of capturing logs (stream docker logs to a pipe with a scanner on the reader to write to mongo) with a new one based on docker's syslog logging driver.
tcp:https://server:3001
) using the syslog driver and formatFor this feature to work, the server needs to know its address, so that when it starts an orchestration container, it can configure it with the syslog endpoint.
This is set in the
BZK_SYSLOG_URL
in the server.The CLI was modified to set that variable from the
--syslog-uri
flag (which has a default value of$BZK_SYSLOG_URL
in the host).For example: