Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Compressing resolver (Unbound) logs is not possible ?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Compressing resolver (Unbound) logs is not possible ? (Read 769 times)
JL
Newbie
Posts: 42
Karma: 1
Compressing resolver (Unbound) logs is not possible ?
«
on:
January 28, 2023, 08:21:49 pm »
From some reason i ended up with over 60GB of logs for unbound.
These are not compressed. I had hoped opnsense would compress the logs automatically, yet i fail to find an option to configure it do so. Typically on a *nix system there's little in the way for reading compressed text log files so I'd prefer to go ahead.
Is there anything to consider for doing so ?
Documentation seems lacking.
Logged
cookiemonster
Hero Member
Posts: 1823
Karma: 95
Re: Compressing resolver (Unbound) logs is not possible ?
«
Reply #1 on:
January 28, 2023, 11:10:27 pm »
You could have a look at the manual page for newsyslog
https://man.freebsd.org/cgi/man.cgi?query=newsyslog.conf&sektion=5
It seems there is an example that could be used in /etc/newsyslog.conf.d/nginx as those are compressed in /var/log/nginx
Logged
Patrick M. Hausen
Hero Member
Posts: 6812
Karma: 572
Re: Compressing resolver (Unbound) logs is not possible ?
«
Reply #2 on:
January 29, 2023, 04:13:57 am »
Or install with ZFS, which will do transparent compression for everything.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Compressing resolver (Unbound) logs is not possible ?