Filtering in gnome-system-log

Since viewing log files can be some kind of annoying when you are only interested in a special problem I wrote a patch to filter/highlight specific sections of a logfile with gnome-system-log. A screenshot says more than thousand words:

Screenshot of gnome-system-log highlighting all gdm messages

Screenshot of gnome-system-log highlighting all gdm messages

The filters are based on regular expressions and should thus be quite flexible. The work was done (and paid) by Openismus Gmbh!

Commentary

Leave a response »

  1. 1. March 7th, 2009

    That’s OK in this case, but if the messages you want are few and far between, it seems you want to make the irrelevant messages disappear. That is, make it look like what Evolution or Thunderbird does when you search for a pattern (show only the matching messages).

    Joe Buck
  2. 2. March 7th, 2009

    Good work mate, just wondering if the patch works for the new rewritten gnome-system-log (2.26)?

    Jones Lee
  3. 3. March 7th, 2009

    Well, there is a checkbox to hide all messages that do not match any filter. I think this is what you want. It’s not that great yet as it doesn’t hide the empty lines but I trying to get this working, too.

  4. 4. March 7th, 2009

    Of course the patch is against trunk.

  5. 5. March 10th, 2009

    This looks good, the red makes it a little hard to read, making it a lot lighter will help.

  6. 6. March 10th, 2009

    The red is just an example. You can configure background and foreground color for each filter.

Trackbacks

  1. [...] Johannes Schmid: Filtering in gnome-system-log [...]

    Peng’s links for Friday, 13 Mar « I’m Just an Avatar

Leave a comment, a trackback from your own site or subscribe to an RSS feed for this entry. Trackback URL for this entry Comments feed for this entry

Leave a response

Leave a URL

Preview