Update Gerrit db container to use journald logging

This replaces syslog logging for containers with journald. Our syslog
rules for /var/log/containers/ log files should continue working because
journald emits to syslog. This is in preparation for an eventual docker
compose backed by podman setup on newer platforms.

Note the main Gerrit container doesn't configure syslog or journald
logging as Gerrit manages its own logging setup.

Change-Id: Idb426262d78591da4b74b390b31b933edfe08fbf
This commit is contained in:
Clark Boylan 2024-12-16 08:04:04 -08:00
parent d9e8844f8d
commit 16d080f13a

View File

@ -15,7 +15,7 @@ services:
# storage attached at /home/gerrit2 on the server.
- /home/gerrit2/reviewdb:/var/lib/mysql
logging:
driver: syslog
driver: journald
options:
tag: "docker-mariadb"
gerrit: