Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
view clog files in shell
« previous
next »
Print
Pages: [
1
]
Author
Topic: view clog files in shell (Read 1096 times)
mbunkus
Newbie
Posts: 1
Karma: 0
view clog files in shell
«
on:
April 12, 2022, 11:05:22 am »
Hey,
I have several OPNsenses that were upgraded from earlier releases to v22, which went fine. Now I have the situation that the log files in /var/log are circular log files, but v22 doesn't come with the "clog" tool anymore. My Google fu wasn't strong enough to find an answer:
How do I view circular log files in the shell on v22?
I also don't see an option to disable clog files in "System" → "Settings" → "Logging" (anymore).
Those log files are definitely still used, and viewing entries via the web UI does work just fine (e.g. for haproxy), but often enough viewing them in the shell is so much better, especially in follow mode or when you need to grep through them.
Thanks!
Logged
franco
Administrator
Hero Member
Posts: 17660
Karma: 1611
Re: view clog files in shell
«
Reply #1 on:
April 12, 2022, 11:53:23 am »
circular logging is gone. You can use "opnsense-log" utility to access logs more easily, it also has a manual page.
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
view clog files in shell