When installing net-snmp it also install a newsyslog file. The newsyslog file has the flags to compress log files. /var/log/snmpd.log 644 7 100 * J /var/run/net_snmpd.pid In my case, the log files are already on a compressed ZFS dataset. Is there a possibility to not include the newsyslog file anymore? For all the other daemons that require it I made a file myself.
You can now disable the NEWSYSLOG option to your desired state.
A commit references this bug: Author: zi Date: Sun Sep 2 14:00:38 UTC 2018 New revision: 478790 URL: https://svnweb.freebsd.org/changeset/ports/478790 Log: - Make newsyslog config file installation OPTIONable - Convert USE_MYSQL to USES=mysql PR: 231085 Submitted by: Dries Michiels <driesm.michiels@gmail.com> Changes: head/net-mgmt/net-snmp/Makefile head/net-mgmt/net-snmp/pkg-plist
You can now disable the NEWSYSLOG option to get your desired state.