openshift-evangelists / workshopper

Workshop content rendering tool
63 stars 42 forks source link

Add a flag to log output to stdout for debugging #53

Closed jorgemoralespou closed 6 years ago

jorgemoralespou commented 6 years ago

I'm trying to use this version with our summit workshop and does not work and don't get any output at all. It would be nice if I could start the container with a flag to get verbose output (if there is any output).

The workshop I'm trying to execute is:

$ git clone https://github.com/openshift-labs/devops-oab-guides.git
$ cd devops-oab-guides

$ docker run -p 8080:8080 -v $(pwd):/app-data \
              -e CONTENT_URL_PREFIX="file:///app-data" \
              -e WORKSHOPS_URLS="file:///app-data/_devops-workshop.yml" \
              osevg/workshopper:edge 
marekjelen commented 6 years ago

Fixed in 26b3ff2

Set LOG_TO_STDOUT env variable to allow logging to stdout.

Or do

docker exec -ti <container name> tail -f log/production.log