We'll cover both the why and how to log to stdout with a few web app servers.
Hit the subscribe button to receive more videos like this!
---
Timestamps:
0:00 What we'll cover in this video
0:46 Why would you want to log to stdout?
4:29 Configuring gunicorn to log to stdout
6:21 How logging to a specific file with Docker can get you in trouble
8:08 Configuring Rails and Laravel to log to stdout
Reference links:
https://12factor.net/
https://buildasaasappwithflask.com/
https://blog.bigbinary.com/2016/04/12/rails-5-allows-to-send-log-to-stdout-via-environment-variable.html
https://github.com/laravel/ideas/issues/126#issuecomment-412766599
https://github.com/nickjj/ansible-docker
---
Follow along?
Personal Website: https://nickjanetakis.com
Twitter: https://twitter.com/nickjanetakis
Download
0 formats
No download links available.
Why Your Web Server Should Log to Stdout (Especially with Docker) | NatokHD