It would be quite handy to have native syslog capability, this would help with things like keeping track of instance creations, time taken for said creations, etc. This is currently doable but it's a lot of work since it means forwarding and parsing the production.log file, and this file isn't very "syslog-y" in it's formatting.
This is no major issue or anything, but a nice to have thing.
#2 Updated by Jon McKenzie about 4 years ago
If this capability were developed, would it be included with Foreman or be pushed into a plugin (can a Rails engine reconfigure global logging?)?
I have a syslog implementation working on our dev Foreman using the
syslogger gem and it seems to work ok. I see #10487 is attempting to address this as well, so not sure if I should pursue it. My change is pretty minimal, just two new settings
#3 Updated by Marek Hulán about 4 years ago
#7 Updated by Dominic Cleal about 4 years ago
#10487's merged and should be in nightlies soon. You can reconfigure /etc/foreman/logging.yaml to enable syslog output, but I don't know that the output is in a particularly syslog-esque style. We could take improvements to the examples in logging.yaml perhaps for formatting and setting the facility.