EngineerBetter / concourse-up

Deprecated - used Control Tower instead
https://github.com/EngineerBetter/control-tower
Apache License 2.0
203 stars 28 forks source link

Check log files of web or worker nodes #74

Closed lorands closed 5 years ago

lorands commented 5 years ago

Can't find a way to access web and worker concourse log files.

crsimmons commented 5 years ago

Hi @lorands,

As concourse-up uses BOSH to deploy Concourse, you can use bosh to get the logs.

First export the correct env vars

eval "$(concourse-up info <deployment-name> --region <region> --env)"

Then ssh to either the web or one of the workers

bosh ssh web
# or
bosh ssh worker/0

Process logs can be found in /var/vcap/sys/log (you'll need to be root to get to it so run sudo -i first)

Does this answer your question?

lorands commented 5 years ago

Hi @crsimmons ,

That is exactly what I was looking for! Thanks!!

Regards, L.

crsimmons commented 5 years ago

Great! 👍