Date: Sun, 31 Oct 1999 13:45:39 -0800 From: "Joseph I. Davida" <jd@davida.com> To: freebsd-questions@FreeBSD.ORG Subject: logging of chat Message-ID: <381CB883.77C1F868@davida.com>
next in thread | raw e-mail | index | archive | help
The chat man page says that everything is logged via syslog, unless options -V or -S or -s are used, or when echoing is enabled. The following chat script is not sending any useful info to the log file chat.log: /usr/bin/chat -v -r /var/log/chat.log ABORT "NO CARRIER" ABORT "NO DIALTONE" ABO RT "ERROR" ABORT "NO ANSWER" ABORT "BUSY" "" ATZ OK ATDT8494321 CONNECT "" ogin:--ogin: SomeUser ssword SomePassword I was hoping to capture the strings setnt to and received from the mode. After getting no useful info, I resorted to adding this to /etc/syslog.conf: !chat *.* /var/log/chat.log still I get no log of any exchanges with the mode. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?381CB883.77C1F868>