JetBrains / ideolog

Interactive viewer for '.log' files.
MIT License
252 stars 54 forks source link

Regex matching does not work #107

Open stracker-phil opened 3 years ago

stracker-phil commented 3 years ago

I have spent a lot of time trying to configure different patterns to parse my PHP log file. I noticed several problems with the Regex pattern matching in this plugin:

  1. Neither the "Message Pattern" nor the "Message Start Pattern" allow me to skip lines. I only want to highlight lines that contain PHP Fatal/PHP Warning/PHP Info/etc but not PHP Stack trace or PHP 1.
    I used the pattern PHP [FEWIND] in both fields, but still, every line was treated as a log message

  2. The "Highlight Match" pattern behavior is completely broken. I want to give the term Fatal Error a red background, but the pattern does nothing. Only when I change it to "Highlight line" it marks the entire line with a red background.

  3. The filter is also broken and does not affect the output in any way. I tested regex and normal text. Even then I copied the entire line of the log file into a filter, that line still showed up.

ideolog-bugs
LaszloBynaric commented 1 year ago

Same here. Some of the regex pattern just doesn't work, or give a wrong match.

wayheming commented 7 months ago

same problem, any solutions?

@LaszloBynaric @stracker-phil