Skip to content
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

Request to change how warn/localmessages/messages logs are saved #84

Closed
m0rbo opened this issue Jan 14, 2021 · 3 comments · Fixed by #87
Closed

Request to change how warn/localmessages/messages logs are saved #84

m0rbo opened this issue Jan 14, 2021 · 3 comments · Fixed by #87

Comments

@m0rbo
Copy link
Contributor

m0rbo commented Jan 14, 2021

This request is to ask that the messages log, /var/log/messages, is saved in full and standalone and to not be combined in the "messages.txt" file with /var/log/warn and /var/log/localmessages. I think it makes more sense to move warn and localmessages to a different file, or save them each in their own file.

I'm ok with keeping a combined file that includes warn and localmessages, but often we ignore those files because generally those log entries are also included in /var/log/messages.

I see the supportconfig logic checks if the size of the messages file is greater than 26M and if so, only grab 200,000 lines of that file, which seems sufficient at this time.

It's difficult/cumbersome/incommodious/time-consuming to jump down to the messages part of the combined file, having them as separate file would save time while reviewing logs.

@tuttipazzo
Copy link

Not all customer think to generate supportconfig when an issue occurs so you may not see any errors (depending on the problem) and you have to waste time looking through tail -1000 version of messages file only to ask for the whole file. Meanwhile they are breathing down you neck for resolution/status update.

@Thr3d
Copy link
Collaborator

Thr3d commented Jan 15, 2021

I support the idea of moving warn/localmessages out of messages.txt to their own file. Over the years I have rarely looked at those and mostly find myself deleting them from messages.txt for my cases.

@roger-whittaker
Copy link

I would also welcome this change for the reasons given by others and also because if I grep for a string in messages.txt I will often get the same message twice: once from warn and once from messages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants