Here are the first several lines from /var/log/diald.log.1:
Wed Dec  1 05:56:26 1999 EST: Calling site my.isp.ip.addr.
Wed Dec  1 05:56:34 1999 EST: Connected to site my.isp.ip.addr.
Wed Dec  1 05:57:36 1999 EST: Disconnected. Call duration 62 seconds.
IP transmitted 508 bytes and received 3752 bytes.
Wed Dec  1 07:16:58 1999 EST: Calling site my.isp.ip.addr.
Wed Dec  1 07:17:06 1999 EST: Connected to site my.isp.ip.addr.
Wed Dec  1 07:25:16 1999 EST: Disconnected. Call duration 490 seconds.
IP transmitted 79066 bytes and received 320469 bytes.
(I stubbbed out the real isp ip address)
Any ideas?

-----Original Message-----
From:   David Taylor [mailto:[EMAIL PROTECTED]]
Sent:   Thursday, December 09, 1999 2:40 PM
To:     Morris Maynard
Subject:        Re: [Jake Colman <[EMAIL PROTECTED]>] diald log maintenance


On Thu, 09 Dec 1999, Morris Maynard wrote:
> I made the recommended change, but the log still doesn't output anything.
> The tests in lines 35 and 36 fail:
>
>       $timestamp =~ /^(\S+) $month (\d+) (\d+):\d+:\d+ \d+/ || next;
>       ( $dayOfWeek = $daysOfWeek{$1} ) > 0 || next;
>
> The log does contain many entries for the current month. I don't
understand
> what line 35 is trying to find out (perl ignorance)

Hmm, the script assumes:
your log files are in /var/log/diald.log.*
the log entries are of the format:
Thu Dec  9 19:35:43 1999 GMT: ....
What's in /var/log/diald.log, and what happens when you run the script?

--
David Taylor
E-Mail: [EMAIL PROTECTED]   [Remove .spam]
ICQ:    268004
PGP:    [EMAIL PROTECTED]           [autoresponder]


-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to