docker file stdout

cd /var/log/apache2
lrwxrwxrwx 1 root root 11 Feb 17 2018 access.log -> /dev/stdout
lrwxrwxrwx 1 root root 11 Feb 17 2018 error.log -> /dev/stderr

It means you can get logs records from host node:
tailf /var/log/messages

Leave a Reply

Your email address will not be published. Required fields are marked *