in reply to A rare, insidious logfile parsing pitfall
You might have a problem if another bracket shows up later on in the line for some reason. Try this:
/^(\S+) (\S+) ([^\[]+) \[...Of course if you're using Apache just use the CustomLog directive to define your own easily parsed log file format and be done with it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: A rare, insidious logfile parsing pitfall
by blakem (Monsignor) on Oct 28, 2001 at 14:26 UTC |