I am working on a long-term goal to improve logging of Foreman and all other components including Katello. In Foreman 1.22, all major components except Pulp can be configured to send logs via either journald or syslog/JSON and I am finalizing rsyslog configuration file that unifies all fields so it can be either saved to file or sent over network to ElasticSearch or other database.
Initially I thought this would be only documentation, but the rsyslog config file is getting complex (400 lines) and it’s subideal to attach such a complex config file to configuration. I suggested that we add rsyslog into our installer however we did not like adding another component into our puppet codebase. This also creates problem of maintaining syslog-ng for debian-based deployments.
So I would like to gather feedback on how to proceed here. I am thinking on creating new package or subpackge
foreman-rsyslog which would hold the four rsyslog configuration files so it’s easier to track and maintain updates of it. However I still feel this is something that we should do via our installer.