-
Notifications
You must be signed in to change notification settings - Fork 900
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
Duplicate logging to /var/log/messages #21211
Comments
We're actually trying to go the other way around and make all messages go to /var/log and eventually drop the individual *.log files. However, in the meantime, there might be a way to disable it. @agrare do you know? |
You can disable
|
I'll put in a PR to update |
In our production deployments, we don't need the log files, and, in fact, they create issues. In appliances, we now use journald and the logs are duplicated in both /var/www/miq/vmdb/log as well as /var/log/messages (see also ManageIQ#21211). In containers, the logs fill up the local volume unnecessarily as they are also output to STDOUT, and STDOUT is preferable because it can be scraped by a log aggregator. As such, this PR stops logging to the log files in production. Resolves ManageIQ#21004, ManageIQ#21211 Co-authored-by: Keenan Brock <[email protected]>
In our production deployments, we don't need the log files, and, in fact, they create issues. In appliances, we now use journald and the logs are duplicated in both /var/www/miq/vmdb/log as well as /var/log/messages (see also ManageIQ#21211). In containers, the logs fill up the local volume unnecessarily as they are also output to STDOUT, and STDOUT is preferable because it can be scraped by a log aggregator. As such, this PR stops logging to the log files in production. Resolves ManageIQ#21004, ManageIQ#21211 Co-authored-by: Keenan Brock <[email protected]>
In our production deployments, we don't need the log files, and, in fact, they create issues. In appliances, we now use journald and the logs are duplicated in both /var/www/miq/vmdb/log as well as /var/log/messages (see also ManageIQ#21211). In containers, the logs fill up the local volume unnecessarily as they are also output to STDOUT, and STDOUT is preferable because it can be scraped by a log aggregator. As such, this PR stops logging to the log files in production. Resolves ManageIQ#21004, ManageIQ#21211 Co-authored-by: Keenan Brock <[email protected]>
In our production deployments, we don't need the log files, and, in fact, they create issues. In appliances, we now use journald and the logs are duplicated in both /var/www/miq/vmdb/log as well as /var/log/messages (see also ManageIQ#21211). In containers, the logs fill up the local volume unnecessarily as they are also output to STDOUT, and STDOUT is preferable because it can be scraped by a log aggregator. As such, this PR stops logging to the log files in production. Resolves ManageIQ#21004, ManageIQ#21211 Co-authored-by: Keenan Brock <[email protected]>
In our production deployments, we don't need the log files, and, in fact, they create issues. In appliances, we now use journald and the logs are duplicated in both /var/www/miq/vmdb/log as well as /var/log/messages (see also ManageIQ#21211). In containers, the logs fill up the local volume unnecessarily as they are also output to STDOUT, and STDOUT is preferable because it can be scraped by a log aggregator. As such, this PR stops logging to the log files in production. Resolves ManageIQ#21004, ManageIQ#21211 Co-authored-by: Keenan Brock <[email protected]>
In our production deployments, we don't need the log files, and, in fact, they create issues. In appliances, we now use journald and the logs are duplicated in both /var/www/miq/vmdb/log as well as /var/log/messages (see also ManageIQ#21211). In containers, the logs fill up the local volume unnecessarily as they are also output to STDOUT, and STDOUT is preferable because it can be scraped by a log aggregator. As such, this PR stops logging to the log files in production. Resolves ManageIQ#21004, ManageIQ#21211 Co-authored-by: Keenan Brock <[email protected]>
In our production deployments, we don't need the log files, and, in fact, they create issues. In appliances, we now use journald and the logs are duplicated in both /var/www/miq/vmdb/log as well as /var/log/messages (see also ManageIQ#21211). In containers, the logs fill up the local volume unnecessarily as they are also output to STDOUT, and STDOUT is preferable because it can be scraped by a log aggregator. As such, this PR stops logging to the log files in production. Resolves ManageIQ#21004, ManageIQ#21211 Co-authored-by: Keenan Brock <[email protected]>
In our production deployments, we don't need the log files, and, in fact, they create issues. In appliances, we now use journald and the logs are duplicated in both /var/www/miq/vmdb/log as well as /var/log/messages (see also ManageIQ#21211). In containers, the logs fill up the local volume unnecessarily as they are also output to STDOUT, and STDOUT is preferable because it can be scraped by a log aggregator. As such, this PR stops logging to the log files in production. Resolves ManageIQ#21004, ManageIQ#21211 Co-authored-by: Keenan Brock <[email protected]>
Fixed in #21177 |
In our production deployments, we don't need the log files, and, in fact, they create issues. In appliances, we now use journald and the logs are duplicated in both /var/www/miq/vmdb/log as well as /var/log/messages (see also ManageIQ#21211). In containers, the logs fill up the local volume unnecessarily as they are also output to STDOUT, and STDOUT is preferable because it can be scraped by a log aggregator. As such, this PR stops logging to the log files in production. Resolves ManageIQ#21004, ManageIQ#21211 Co-authored-by: Keenan Brock <[email protected]>
Hello,
We just installed a kasparov (kasparov-1.20210203001902_15acbea) VMWare appliance and we noticed ManageIQ logs are written to /var/log/messages. This make /var/log 100% full.
Here is a short extract of /var/log/messages
These logs seem redundant with the those written in evm.log. Is there a way to avoid manageiq logs to be written in /var/log/messages ?
Thanks.
The text was updated successfully, but these errors were encountered: