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

@ -45,13 +45,25 @@ If you want to change the logging driver globally, edit Dockers daemon configura
```
{
...
"log-driver": "gelf",
"log-opts": {
"gelf-address": "udp://graylog:12201"
}
"log-driver": "gelf",
"log-opts": {
"gelf-address": "udp://graylog:12201"
}
...
}
```
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.