From: Andreas Glatz <andreasglatz@domain.hid>
To: oliver.schlenker@domain.hid
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Re-2: rt_printf with daemonized task
Date: Wed, 07 Oct 2009 09:38:21 -0400 [thread overview]
Message-ID: <1254922701.3718.35.camel@domain.hid> (raw)
In-Reply-To: <DIIE.000001A80000AC7B@192.168.2.103>
Hi,
On Wed, 2009-10-07 at 13:13 +0000, oliver.schlenker@domain.hid
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
next prev parent reply other threads:[~2009-10-07 13:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-07 13:13 [Xenomai-help] Re-2: rt_printf with daemonized task oliver.schlenker
2009-10-07 13:16 ` Gilles Chanteperdrix
2009-10-07 13:38 ` Andreas Glatz [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-10-21 12:06 [Xenomai-help] Re-2: :: " oliver.schlenker
2009-10-22 16:34 ` Jan Kiszka
2009-10-23 7:24 oliver.schlenker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1254922701.3718.35.camel@domain.hid \
--to=andreasglatz@domain.hid \
--cc=oliver.schlenker@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.