[H-GEN] Logging over serial ports

Craig Eldershaw ce at comlab.ox.ac.uk
Fri Apr 9 03:11:10 EDT 1999


(Note reply-to: being general at humbug.org.au vs Craig Eldershaw <ce at comlab.ox.ac.uk>)

OK, this seems to work:

mkfifo /var/log/squid/squid.log
mkfifo /var/log/apache/apache.log
...etc...

logger -f /var/log/squid/squid.log &
logger -f /var/log/apache/apache.log &
...etc...

For testing:

    tail -f /var/log/masslog         [in one window]
Then:
    cat >/var/log/squid/squid.log    [in another window]
    cat >/var/log/apache/apache.log  [in y.a.w.]

Type random stuff in each of the last two windows, and it appears in
the first along with normal syslog stuff.  All of which can be chucked
at the serial connection.

Is that what you wanted ?

C.


--
This is list (humbug) general handled by majordomo at lists.humbug.org.au .
Postings only from subscribed addresses of lists general or general-post.



More information about the General mailing list