rtapi_print_msg

More
19 Apr 2024 09:18 #298610 by diammo
rtapi_print_msg was created by diammo
hello everyone, I wanna know where I can see the log printed from rtapi_print_msg.

Please Log in or Create an account to join the conversation.

More
20 Apr 2024 10:37 #298715 by andypugh
Replied by andypugh on topic rtapi_print_msg
It depends on the realtime version being used. If you are using RTAI then it goes into the kernel log. Otherwise it goes to stdio.

In the first case you can view it with the "dmesg" command, or by opeining a separate logging terminal and running "sudo tail -f /var/log/kernel.log"

In the latter case you can view it by starting LinuxCNC from the command line with the "linuxcnc" command.

Please Log in or Create an account to join the conversation.

More
20 Apr 2024 10:51 #298717 by andypugh
Replied by andypugh on topic rtapi_print_msg
Also, if you want to increase the logging level you can do this either in the HAL file with the "debug" command or from the terminal (after startup of LinuxCNC) with "halcmd debug 5" (or some other level from the list RTAPI_MSG_NONE = 0, RTAPI_MSG_ERR = 1, RTAPI_MSG_WARN = 2, RTAPI_MSG_INFO = 3, RTAPI_MSG_DBG = 4 RTAPI_MSG_ALL = 5)

Please Log in or Create an account to join the conversation.

Time to create page: 0.060 seconds
Powered by Kunena Forum