Page MenuHomePhabricator

cloudvps: duplicated neutron agents logging
Open, MediumPublic

Description

In the current scenario, neutron agents are duplicating their logs (which can be a lot):

  • /var/log/syslog
  • /var/log/neutron/neutron-xxxx-agent.log

Having a specific logfile is great, but if we just remove the logs from going to syslog we may end loosing systemd-aware logs, which is not good (since you can see them with a simple systemctl status neutron-xxx-agent.service).

So, the ideal solution is:

  • store logs in disc only in /var/log/neutron/neutron-xxx-agent.log
  • have systemd be aware of the logs even though they don't go to syslog

Related Objects