On 11 October 2012 05:12, Jon Elson <[email protected]> wrote:
> Hi,  I just pulled in the latest master and made a slight change to
> the message output from src/hal/drivers/hal_ppmc.c, and I am
> trying to see the messages from the
> rtapi_print_msg(RTAPI_MSG_INFO ...
> but I have no idea where these messages are sent.

They don't go anywhere unless the debugging level is high enough.

I have never actually worked out if the debug level masks in the INI
file correlate to debugging level in rtapi_print_msg. This is partly
because most of my work is done with a halrun prompt and no GUI.

The way I set debug level is with, for example

echo 5 > /proc/rtapi/debug

(this only works when rtapi is loaded, though)

(search, furtle, rummage)
Yes, that seems to be exactly what the startupscripts do
http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=blob;f=scripts/realtime.in;hb=ce55978c1af6941c101cd2a7191c3fe810888fd1
(line 161)


-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to