On 9/21/99 11:56 AM Jim Balcom ([EMAIL PROTECTED]) wrote:

>On Mon, 20 Sep 1999, Stephen Turner wrote:
>
>ST>>> When I specify a log file on the command line 'analog 
>/var/log/wn.log.001'
>ST>>> it aborts and tells me that there are too many corrupted lines in 
>the file.
>ST>>> When I put the same logfile in analog.cfg, it does it just fine.
>ST>>
>ST>>Maybe there's a LOGFORMAT command in analog.cfg which is telling 
>analog the
>ST>>log format when the LOGFILE command is in analog.cfg too, but analog 
>doesn't
>ST>>know the format when the logfile is specified on the command line.
>ST>>
>ST>>Perhaps I should be more explicit. All commands work on the command line.
>ST>>But if you move a command out of a configuration file onto the command 
>line,
>ST>>you won't necessarily get exactly the same report because the order of
>ST>>commands can be important too.
>
>Then, this creates problems in the 3.32 version that weren't in the 2.*
>versions.
>
>I am using a logfile created by WN. The 2.* versions recognized the log
>format just fine. The 3.32 version has not the foggiest idea of what is in
>there. I did finally manage to come up with a logformat that is working.
>
>How do I specify this custom logformat on the command line so I can specify
>different log files for it to analyze?
>
>I am now having to create 2-3 times as many config files as I did under the
>2.* versions. This is a nightmare!

Perhaps what you want is DEFAULTLOGFORMAT. That sets the log format to 
use with log files specified on the command line.

Jason

-----------------
[EMAIL PROTECTED]
-----------------
Dr. Seuss books . . . can be read and enjoyed on several levels. For
example, 'One Fish Two Fish, Red Fish Blue Fish' can be deconstructed
as a searing indictment of the narrow-minded binary counting system.
  -- Peter van der Linden, Expert C Programming, Deep C Secrets


------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------

Reply via email to