Page 1 of 1

best practice for log output

Posted: Fri Mar 21, 2025 4:40 pm
by May
Hey fellow switch lovers,

so far I developed about 30 node scripts for many different use cases and ~5 apps for the app store and I am reaaaally happy how this all works out within switch.

One issue bothers me which leads to posting here: sending log files when using traffic light output connections. I am looking for some kind of teamplate or "best practice" to send out well structured log files from a traffic light connection and maybe even including the log as metadata / external dataset within the job.

What "fields" would be useful to get a good data structure for such a "log dataset"?

How do you handle this?
Anybody willing on sharing some code snippeta about this topic?

Regards
Daniel

Re: best practice for log output

Posted: Tue Apr 28, 2026 3:16 pm
by emile.schilders
Hey Daniel,

Have you by any chance found a solution to your query?
I'd love to hear about how you managed to include the log data as metadata/external dataset.

Kind Regards,

ICT @ Senefelder Misset

Re: best practice for log output

Posted: Fri May 08, 2026 11:14 am
by May
sadly, I have not found a good solution for this. So far, all different scripts and apps are custom solutions including how the logging is done in each script