pcdshub / lcls-twincat-general

A PLC code toolkit for LCLS TwinCAT PLC projects

Home Page:https://pcdshub.github.io/lcls-twincat-general/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Logger: consider buffering UDP packet sending

klauer opened this issue · comments

In lcls-plc-rixs-optics, @ZLLentz found that UDP packets were not always sent in a single cycle. (ref pcdshub/lcls-plc-rixs-optics#75) It can reportedly be around 15 cycles.

I incorrectly had assumed this would be the case as well for logging via JSON-formatted UDP packets to logstash.

We should consider looking back into this - especially if we notice missing log messages following successful ones.