[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: logging to serial console



>Hi all!
>
>I use a serial terminal for logging most of syslogs messages.
>Unfortunately I also want to write some script output to the terminal,
>which does not work because syslog seems to lock the device. In 2.7 it
>was possible to use tty00 with more than one "writers". In 2.8-current I
>had to change from using tty00 to using cua00 and only one process is
>able to use the device. It is not even possible to have more than one
>entry for cua00 in syslog.conf. Is there something I do fundamentally
>wrong or is this due to the switch to wscons and will be resolved
>sometime???
>
>cheers,
>
>Nikolay
>
>--
>Room 30, Building 55a, Desy, Hamburg, Germany, Europe, Earth
>Phone: 040 - 8998 4906
>
>               Wake up and piss. The world is on fire!

Does the "logger" command not do what you wish?  It has the side 
effect of putting all your information into syslog, but the output 
will appear on the serial console if your syslog is correctly 
configured.

JT