Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
Correct way to change from circular logs to regular files?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Correct way to change from circular logs to regular files? (Read 4216 times)
astromeier
Jr. Member
Posts: 86
Karma: 9
Correct way to change from circular logs to regular files?
«
on:
March 01, 2021, 07:56:06 pm »
Hi!
I recently upgraded to 21.1 and a new Qotom Hardware. The migration was flawless and after some days I wanted to switch from circular logging to the advised single file logging. The logs are stored local at opnsense system.
In "System: Settings: Logging" I checked "Disable circular logs", saved the change and the pushed "Reset Log Files" Button.
After some hours I saw that at least the HAProxy-, WebGUI- and Firmware-Logs are inactive now.
The NTP- and HAProxy log showed some entrys from service-startup bot no more ...
System backend and general logs, firewall log and so on are working.
A newly issued log file reset, services restart and reboot did not help.
Switching back to circular logs brougt all logging back....
Disabling circular logging again and the logs are empty....
What is wrong?
«
Last Edit: March 01, 2021, 08:01:37 pm by astromeier
»
Logged
Stay secure!
Thomas
OPNsense 22.x / Qotom Q370G4 ram8G ssd256G
lfirewall1243
Hero Member
Posts: 1386
Karma: 45
Re: Correct way to change from circular logs to regular files?
«
Reply #1 on:
March 01, 2021, 08:12:04 pm »
Try a reboot after changing the option
Logged
(Unoffial Community) OPNsense Telegram Group:
https://t.me/joinchat/0o9JuLUXRFpiNmJk
PM for paid support
astromeier
Jr. Member
Posts: 86
Karma: 9
Re: Correct way to change from circular logs to regular files?
«
Reply #2 on:
March 01, 2021, 11:07:24 pm »
Thanks, lfirewall1234, but this didn't help:
Quote
A newly issued log file reset, services restart and reboot did not help.
Logged
Stay secure!
Thomas
OPNsense 22.x / Qotom Q370G4 ram8G ssd256G
astromeier
Jr. Member
Posts: 86
Karma: 9
Re: Correct way to change from circular logs to regular files?
«
Reply #3 on:
March 23, 2021, 02:45:37 pm »
Tested with OPNsense 21.1.3_3-amd64: HA-Proxy still doesn't log after switching to non-circular logging...
Anybody with same experience?
Logged
Stay secure!
Thomas
OPNsense 22.x / Qotom Q370G4 ram8G ssd256G
Brian Puccio
Newbie
Posts: 1
Karma: 0
Re: Correct way to change from circular logs to regular files?
«
Reply #4 on:
May 10, 2021, 07:34:19 am »
I didn't have logging working before switching to the new method nor after. I opened an issue on GitHub:
https://github.com/opnsense/plugins/issues/2386
Logged
Joop
Newbie
Posts: 3
Karma: 0
Re: Correct way to change from circular logs to regular files?
«
Reply #5 on:
August 17, 2021, 10:03:38 am »
I've got the same problem with the latest release:
OPNsense 21.7.1-amd64
FreeBSD 12.1-RELEASE-p19-HBSD
OpenSSL 1.1.1k 25 Mar 2021
os-haproxy (installed) 3.4
Circular logs work fine, same settings in HAProxy but non-circular logs only show start/stop entries.
I applied the suggestions in #280 but that didn't help
Is there a way to debug the logging to syslog-ng?
Joop
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
Correct way to change from circular logs to regular files?