Remote Syslog Support


#1

Any chance that remote syslog support will be added? I would like to send my logs to Splunk and play with building an OctoPrint Splunk App.


#2

OctoPrint uses Python's logging framework. That in turn supports sending records to syslog. And OctoPrint also supports configuring the logging sub system through logging.yaml. So it more or less supports it already, you just need to configure the logging sub system accordingly.


#3

Should logging.yaml exist by default? I have checked the entire volume (#find / -name logging.yaml" and I get no results. I have also looked at: /home/pi/.octoprint and I don't see it there either.


#4

According to the link logging.yaml mentioned above, it's not typically there you have to create it.


#5

Thanks, I will read some more, and see what I can come up with.

Jon