Producing logs

Changes to the examples

Commands

docker container run -v /Users/julian/workspace/docker_examples/logging_demo/scripts:/app ruby:2.4.2 ruby /app/logger.rb 4350  docker container run -v /Users/julian/workspace/docker_examples/logging_demo/scripts:/app ruby:2.4.2 ruby /app/logger.rb
docker container run -v /Users/julian/workspace/docker_examples/logging_demo/scripts:/app ruby:2.4.2 ruby /app/file-logger.rb 4350  docker container run -v /Users/julian/workspace/docker_examples/logging_demo/scripts:/app ruby:2.4.2 ruby /app/file_logger.rb

Reading logs

Using logfiles