Re: How to disable console on serial when needed ?
- From: "Sebastian" <bastisoft@xxxxxxxx>
- Date: Thu, 28 Dec 2006 22:05:35 +0100
Can't you just use remote syslog for this? It's the way I do.
Good Idea
However can it handle user program's printf output ?
You could replace the printf statements to send syslog request instead, but
you could also write a simple "wrapper" script that simply writes it input
into syslog. I don't know if "logger" is sufficient. If not, you can take a
wrapper which simply calls for logger. I don't know if you have it, but it
is at least available through BusyBox.
And Is there any document on this ?
Only the BusyBox documentation. :-)
And anyway, it need a network to working on right?
Everything syslog is logging, is going to /var/log/messages (but you can
configure syslog accordingly to your needs in /etc/syslogd.conf - BusyBox'
syslogd can't), but this is also sent out to the network, if you want it to
do so.
So - yes, you need a network to be able to get these messages, if you are
not having a terminal to the system.
Regards,
Sebastian
.
- References:
- Re: How to disable console on serial when needed ?
- From: Jim Jackson
- Re: How to disable console on serial when needed ?
- From: Jim Jackson
- Re: How to disable console on serial when needed ?
- From: Sebastian
- Re: How to disable console on serial when needed ?
- From: noone
- Re: How to disable console on serial when needed ?
- From: Jim Jackson
- Re: How to disable console on serial when needed ?
- From: Raymond
- Re: How to disable console on serial when needed ?
- From: wimpunk
- Re: How to disable console on serial when needed ?
- Prev by Date: features by free rtlinux patch
- Next by Date: Re: is there an Boot Sector or Partition Table on usb flash disk?
- Previous by thread: Re: How to disable console on serial when needed ?
- Next by thread: Re: How to disable console on serial when needed ?
- Index(es):
Relevant Pages
|