Update firststeps-logging.md

Dieser Commit ist enthalten in:
André Peters 2020-08-25 14:54:09 +02:00 committet von GitHub
Ursprung b6556a0c98
Commit a8feca653a
Es konnte kein GPG-SchlĂĽssel zu dieser Signatur gefunden werden
GPG-SchlĂĽssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -51,7 +51,19 @@ If you want to change the logging driver globally, edit Dockers daemon configura
} }
... ...
} }
```
For Syslog:
```
{
...
"log-driver": "syslog",
"log-opts": {
"syslog-address": "udp://1.2.3.4:514"
}
...
}
``` ```
Restart the Docker daemon and run `docker-compose down && docker-compose up -d` to recreate the containers with the new logging driver. Restart the Docker daemon and run `docker-compose down && docker-compose up -d` to recreate the containers with the new logging driver.