tmc / pqstream

pqstream turns your postgres database into an event stream
MIT License
477 stars 24 forks source link

ci: collect postgresql logs in CI #52

Open tmc opened 7 years ago

tmc commented 7 years ago

If we do have an odd failure having postgres logs would be useful.

mileswilson commented 7 years ago

CircleCI already collects the logs from the support containers, please see the screenshot: https://screenshots.firefox.com/IBdqbEGhCZu381v1/circleci.com

Are you after having the logs archived with the test results?

tmc commented 7 years ago

Well here we had a flake and we didn't get very useful output in the pg container: https://circleci.com/gh/tmc/pqstream/298

empijei commented 7 years ago

If you want the logs to be collected together with the test output can't you just edit the bash invocation to the test to "cat" the log files if the command does not exit with 0?

tmc commented 7 years ago

It's running in a separate container.