Christopher,

The log format docs seem to imply that the individual fields are contained in quotes. On my system at least that's not the case.

Just using spaces doesn't work too well, as the number of spaces between fields is variable and the messages in fields also contain spaces.
--
matt


Christopher L. Sweeney wrote:
At 3:47 PM -0800 12/16/05, Matt Stevens wrote:

Is there a specific format that describes the intermapper log files?

It seems be:
DD/MM HH:MM:SS  EVENT  DESCRIPTION

But the format isn't too machine friendly. The separator between the time, event and description appears to be two or more spaces, but the description field also contains two or more spaces on occasion - making this a bad record separator.

I'd like to write a script to process the logs and generate a summary after they're rotated nightly. I know I could write a script that would be called as a notifier, but then the script would have to maintain its own state. Much simpler to just use the logs...


You can find a description of the event log here:

http://www.intermapper.com/docs/WebHelp/03-using_intermapper/03-02-monitoring_your_network/03-02-02-log_windows/logmessages.html

-- Christopher

____________________________________________________________________
List archives: http://www.mail-archive.com/intermapper-talk%40list.dartware.com/
To unsubscribe: send email to: [EMAIL PROTECTED]

Reply via email to