mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2025-11-18 14:10:13 -05:00
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.
446 B
446 B
age base certbot chrony cloud-guest-utils conntrack-tools dovecot ethtool fish grub htop ioping iperf linux-lts logrotate man-db moreutils mtr mutt neovim nftables nginx nmap opendkim opendmarc openssh pacman-contrib pacutils plocate postfix postfix-pcre publicsuffix-list pv python-authres python-keystoneauth1 python-keystoneclient python-spf-engine python-swiftclient rsync s-nail strace stress syslog-ng sysstat tinyxxd tree unbound xfsprogs