New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NAS-127333 / 24.10 / Add /var/log/syslog.1 and /var/log/messages.1 to ixdiagnose debug #167
base: master
Are you sure you want to change the base?
Conversation
What filled up syslog? This actually points out a bug that we should be using a pattern for the middleware files. These are text files so I expect a rather large compression ratio. |
I was testing ALUA for weeks - large number of targets and repeated configuration changes & reboots. Probably worst case scenario wrt logs.
and
Both OTOH, not fetching at least the .1 could mean that if unlucky you get a debug like the one I received from Max today, with 3 lines of history in kern.log and 9 lines in messages - not enough to work from!
We are already using a pattern wrt
|
Thanks for clarification. I think we need to add a syslog filter for both of these subsystems and log them to their own files respectively and add them to the debug. We already do this for k3s and a couple others. |
Experimented with adding
Pattern('syslog.+')
andPattern('messages.+')
instead, but just thePattern('syslog.+')
caused a HA debug to grow from ~11MB to ~30MB - and there'd be no reason to suppose it couldn't grow even more in time.Just adding the
.1
(as per this PR) meant ~11MB grew to ~14MB.