Red Hat Bugzilla – Bug 1300509
ironic should have its own log file
Last modified: 2016-05-19 11:55:18 EDT
Description of problem:
ironic currently logs to /var/log/message as well as /var/log/ironic/*
a) causing garbage to appear in /var/log/messages
b) making it harder to identify non-ironic issues
c) making it harder to identify ironic only issues
e) use of more disk space
the request is to keep ironic to its own log file
Version-Release number of selected component (if applicable):
Steps to Reproduce:
I think it's journalctl that puts something in /var/log/messages, not ironic itself, so I don't think we can do something about it, sorry.
have you seen the size of /var/log/messages? i was shocked to find it at 650M+
i had to edit my logrotate config to keep it at 10M
is there any workaround?
I routinely work with 1.5-2 GiB logs from one service, so I know your feelings :) judging by https://fedoraproject.org/wiki/Changes/NoDefaultSyslog you have rsyslog installed, which causes /var/log/messages to be populated. I suspect uninstalling it will do the trick.
This bug is against a Version which has reached End of Life.
If it's still present in supported release (http://releases.openstack.org), please update Version and reopen.