0

I have just started working with google cloud datalab. I would like to inspect the logs generated by jupyter-notebook. I can see the process running on the instance, but cannot find where the logs go (either locally on the instance or in stackdriver logging)?

jamborta
  • 5,130
  • 6
  • 35
  • 55

1 Answers1

1

You can ssh into the VM and run the docker logs ${containerId} command.

Bash command to get the logs for the currently running datalab instance:

docker logs $(docker ps | grep "gcr.io/cloud-datalab/datalab" | awk '{print $1}')
Chris Meyers
  • 1,426
  • 9
  • 14