Use OPENHPI_DEBUG and OPENHPI_TRACE variables as defined in
include/oh_error.h
 
Marko

> Hello,
> I looked at the source of the openhpi daemon and saw that it has dbg and
trace messages.
> Is there a way to see these messages?
> I tried to do it by writing the following program:
> 
> #include <unistd.h> 
> 
> int main(int argc, char *argv[])
> {
>     setenv("OH_DBG", "YES");
>     setenv("OH_TRACE", "YES");
>     execv("/etc/init.d/openhpid", argv);
>     return 0;
> }
> 
> but it didn't work, I still don't see any messages written to stderr.
> 
> Thanks

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel

Reply via email to