Log grafana to /var/log/containers with journald/syslog
Use the docker compose journald logging driver to log grafana logs to /var/log/containers. This simplifies log collection for CI jobs (previously they were only available via `docker logs`) and should make it easier to inspect logs in production. Change-Id: Icdaadc6ed8d1355673cf36861d28e693bfe734a1
This commit is contained in:
parent
cf05201b70
commit
711f49b7c3
@ -19,3 +19,7 @@ services:
|
||||
volumes:
|
||||
- /etc/grafana/secrets:/etc/grafana/secrets:ro
|
||||
- /etc/grafana/home:/etc/grafana/home:ro
|
||||
logging:
|
||||
driver: journald
|
||||
options:
|
||||
tag: "docker-grafana"
|
||||
|
Loading…
x
Reference in New Issue
Block a user