Hi, On Wed, 2009-10-07 at 13:13 +0000, [email protected] wrote: > > > > 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 >
FYI: That's how we tackled this problem: We created a RT_PIPE object. Both threads are writing their messages to the pipe. Together with the Xenomai application we have 'logger' running: 'logger -f /dev/rtpXX -t <your process name> &' which takes everything which gets written to RT_PIPE and sends it to the syslog daemon. Andreas _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
