graphene-os-server-infrastr.../packages/discuss.grapheneos.org
Daniel Micay 2caa67529a set up syslog-ng for nginx access log
This sets up the infrastructure for moving from storing nginx access
logs in journald to plain text files written by syslog-ng and rotated by
logrotate. This works around the poor performance, poor space efficiency
and lack of archived log compression for journald. Unlike writing access
logs directly with nginx, this continues avoiding blocking writes in the
event loop and sticks to asynchronous sends through a socket.

Since nginx only supports syslog via the RFC 3164 protocol rather than
the more modern RFC 5424 protocol, this leaves formatting timestamps up
to nginx rather than using the ones provided via the syslog protocol.
2025-11-03 00:33:28 -05:00

489 B

age base brotli certbot chrony cloud-guest-utils composer conntrack-tools ethtool fish geoipupdate grub htop ioping iperf linux-lts logrotate man-db mariadb mmdblookup moreutils mtr neovim nftables nginx nginx-mod-brotli nginx-mod-geoip2 nmap openssh pacman-contrib pacutils php php-fpm php-gd php-legacy php-legacy-fpm php-legacy-gd plocate pv python-keystoneauth1 python-keystoneclient python-swiftclient rsync strace stress syslog-ng sysstat tinyxxd tree unbound valkey xfsprogs zopfli