After tracking down the issue a little bit further, it seems not to be a 
problem of daemonizing a server task,
but to change a line of code in rtprint.c

What I would like to achieve :
- My server process is setting up two Xenomai threads
- Both Xenomai should report some messages with rt_printf()
- rt_printf-function should write not to stdout or stderr but to the syslog

Therefor I changed the code for output the message in rt_print.c from
   fprintf(head->dest, "%s", head->text); 
to
   syslog( LOG_ERR | LOG_LOCAL4, head->text ); 

Problem :
The syslog() call is not doing any output the syslog file, it doesn't matter
if the process is daemonized or not.




Oliver

To: [email protected]
Cc: [email protected]



_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to