Experimental Physics and
| |||||||||||||||
|
I am currently investigating what options I have for storing the logs from our IOCs centrally. I have set up a syslog-ng docker container for testing purposes. The host server has the IP 10.32.240.32, the docker container has published ports 514 (UDP), 601 (TCP). For testing purposes, I used a client in the same subnet with the command logger -n 10.32.240.32 "my_message" successfully left a message. Now I have set the environment variables (on the client) in epics-base/configure/CONFIG_SITE_ENV. EPICS_IOC_LOG_INET=10.32.240.32 EPICS_IOC_LOG_PORT=601 In a simple test IOC on the client, I say iocLogInit() and get the message epics> log client: connected to log server at '10.32.240.32:601' I now wanted to test whether I can send a message with errlog: epics> errlog("my message") However, after a short time (some seconds) I get: epics> log client: lost contact with log server at '10.32.240.32:601' because "Broken pipe" Then a short time later the IOC reconnects to the log server. log client: connected to log server at '10.32.240.32:601' Have I overlooked something in the configuration? I am also open to alternatives (e.g. logstash?). Many thanks and best regards Simon -- Dr. Simon Friederich Institut für Kernphysik Kollaboration B | MESA Johannes Gutenberg-Universität Mainz Johann-Joachim-Becher-Weg 45 D 55128 Mainz Tel.: +49 (0)6131 39-23160 E-Mail: s.friederich at uni-mainz.de
| ||||||||||||||
ANJ, 07 Feb 2024 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |