Aug 8, 2019, 12:19 by
al...@machinekoder.com:
> We have a problem with our BeagleBone setup. The RTAPI logging is causing systemd-journal to use a big chunk of the CPU resources, in particular right after program start.
>
> The log messages are visible by running journalctl, something along the lines of CMD 1036, code 29 and SET_LINE (sorry, I'm on a different computer). So it looks like RTAPI is printing out messages when reading the file.
>
> Anyway, is there a way to disable or reduce the RTAPI logging?
>
Hi,
what exactly do you mean by disabling? When the RTAPI message level will be set to NONE -
https://github.com/machinekit/machinekit-hal/blob/master/src/rtapi/rtapi_support.c#L98-L99 <
https://github.com/machinekit/machinekit-hal/blob/master/src/rtapi/rtapi_support.c#L98-L99> - it should not log the messages from RTAPI_PRINT_* function. You can then decouple the default system logger in, I think, syslog-async.c. However, maybe you mean something else.
Could you post what messages make the bulk of load?
Cern.