Hello Render community.
I’ve been trying to forward the logs from Render to a log platform, logtail in this case, and I’m might be misunderstanding some things.
From the documentation I see that it’s expected that my service outputs logs to stdout using the syslog format RFC 5424 - The Syslog Protocol. Comparing the log from the docs and the one I’m producing we can see:
Log entry from the documentation:
<0>1 2021-03-31T16:00:00-08:00 test-service cron-12345 74440 cron-12345 - hello this is a test
Log entry from my service (I’ve checked in the Render logs page):
<0>1 2022-07-17T01:06:09Z devgym devgym 74440 devgym - collector message
The problem is that Render is using my whole log message in the sys log message section. Generating something like
<0>1 2021-03-31T16:00:00-08:00 test-service cron-12345 74440 cron-12345 - <0>1 2022-07-17T01:06:09Z devgym devgym 74440 devgym - collector message
Which means that I don’t have control to change the severity or anything else despite the log message. How should I proceed to use syslog properly?