(PM) Re: mdp-max debugging

Chris Adams (cadams@ro.com)
2 Mar 1999 15:24:09 -0600

Once upon a time, Thomas Kinnen <tkinnen@livingston.com> said:
>> but of course, it only goes to the screen. I've got syslog set up properly
>> on a remote loghost, but can't get the mdp-max debug info to log there.
>> Any ideas?
>
>Normally I just set my terminal program to log to a file

I wanted to log stuff without having to leave a term program running, so
I wrote a perl script that uses Net::Telnet to connect to a PortMaster,
setup debugging, and start writing it to a file. And it puts real
timestamps on each message (instead of the relative timestamps ComOS
uses).

See http://ro.com/~cadams/files/pm3/log-debug.pl

-- 
Chris Adams - cadams@ro.com
System Administrator - Renaissance Internet Services
I don't speak for anybody but myself - that's enough trouble.
-
To unsubscribe, email 'majordomo@livingston.com' with
'unsubscribe portmaster-users' in the body of the message.
Searchable list archive: <URL:http://www.livingston.com/Tech/archive/>