logging wip

This commit is contained in:
marcel-dempers 2020-09-11 10:13:28 +10:00 committed by Marcel Dempers
parent 67c54641ea
commit d59a07521a
3 changed files with 30 additions and 1 deletions

View File

@ -0,0 +1,10 @@
# Fluentd basic demo
In my video: Introduction to logging <br/>
I run fluentd locally <br/>
I collect all local container logs into the `./logs` folder <br/>
Fluentd collects all the logs of the containers running on my machine.
```
docker-compose up
```

View File

@ -0,0 +1,12 @@
version: "3"
services:
fluentd:
container_name: fluentd
user: root
image: fluent/fluentd:v1.11-debian
volumes:
- /var/lib/docker/containers:/fluentd/log/containers
- ./fluent.conf:/fluentd/etc/fluent.conf
- ./logs:/output/
logging:
driver: "local"

View File

@ -1 +1,8 @@
# WIP # Logging
## Logging Basics
* Standardised Logging
* Centralised Logging
[Demo](./basic-demo/readme.md)