Re: How to disable console on serial when needed ?



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


.



Relevant Pages

  • Re: Syslog in Vxworks
    ... logLib is just a "delayed printf" wrapper, ... I believe the closest thing to syslog would be the ED&R - Error ... See VxWorks Kernel Programmer's Guide -> Error Deteting and ...
    (comp.os.vxworks)
  • Syslog Watcher Pro Edition 2.5
    ... Gather syslog data from network appliances and workstations. ... Watcher Pro Edition collects syslog information from network devices ...
    (comp.software.shareware.announce)
  • Re: Need to implemet Syslog server
    ... >On my network I need to implement a Syslog server ... Pretty much everything but Windows will ... likely talk to syslog if told to, ... A great many other managed network devices support syslogging, ...
    (Security-Basics)
  • Re: Syslog logging recommendation
    ... initially I'd like to capture the syslog from my Netgear router>and store it on my FreeBSD machine. ... Later I'd add other machines on the>network. ... I'd like to>store the information in mySQL. ...
    (freebsd-questions)
  • Re: network worm
    ... >in the past days our network was stressed from a lot ... While I understand that you want some indentification capabilities, ... SonicWall firewalls set up to forward syslog messages to a syslog daemon. ... the first thing that comes to my mind is a worm with SMTP. ...
    (Security-Basics)