Hi,
I am in the process of setting up our first ARTIQ rack and I would like to be able to read core log messages (e.g. [ 0.000009s] INFO(runtime): ARTIQ runtime starting...) from a central location.
Currently I am connected to the front panel USB/virtual COM port and I can read the log messages just fine, however in the long run I want to use something like graylog or similar.
So far I have discovered artiq_coremgmt log
but I am not sure if it is the right tool for continuous logging since every call seems to open a new port:
watch artiq_coremgmt log
Every 2.0s: artiq_coremgmt log
[ 20323.039156s] INFO(runtime::mgmt): new connection from 192.168.0.180:34248
[ 20325.254006s] INFO(runtime::mgmt): new connection from 192.168.0.180:34250
[ 20327.468182s] INFO(runtime::mgmt): new connection from 192.168.0.180:34252
[ 20329.691528s] INFO(runtime::mgmt): new connection from 192.168.0.180:34254
..and it is probably not smart to do that.
So my questions are: How could I send the core log messages of a chosen level to a network location in the syslog "format"?
Thanks!
Jonas