Aug 8, 2019, 12:19 by [email protected]: > 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. -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/machinekit/LlnWf5e--3-1%40tuta.io.
