Update firststeps-logging.md
Dieser Commit ist enthalten in:
Ursprung
b6556a0c98
Commit
a8feca653a
1 geänderte Dateien mit 16 neuen und 4 gelöschten Zeilen
|
@ -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.
|
||||
|
|
Laden …
In neuem Issue referenzieren