Group: Forum Members
Posts: 2,
Visits: 7
|
Thanks Toby...
Here is the part of the log that is giving me trouble: The log starts with these series of characters, then newline, then my logs start... [2J[m[H
How do I write a pattern for this?
The pattern for my logs is: %d{yyyy-MM-dd %H:mm:ss} %S{Type} %S{Source} %S{Msg}%n
Now I want to add a new pattern for: [2J[m[H
I tried regex for exactly 10 chars - I want to ignore any line with exactly 10 chars. /^..........$/gm
But if I check the "regex" i would think my original pattern would stop working.
Regardless, it tells me "minimum of two elements must be found"
any approach you would take?
|