1
<?xml version="1.0" encoding="utf-8"?>
2
<page xmlns="http://projectmallard.org/1.0/" type="guide" id="log-filter" xml:lang="uk">
5
<link type="guide" xref="index#main"/>
6
<link type="seealso" xref="log-search"/>
7
<revision version="3.3" date="2011-10-30" status="review"/>
8
<desc>Include or exclude shown lines using regular expressions.</desc>
10
<credit type="author">
11
<name>Ekaterina Gerasimova</name>
12
<email>kittykat3756@googlemail.com</email>
16
<p>Creative Commons Share Alike 3.0</p>
21
<title>Filter log</title>
23
<p>The log viewer allows you to filter log content based on regular
24
expressions. To set up or manage a new filter:</p>
28
<p>Open the filter manager dialog by clicking <guiseq><gui>Filters:</gui>
29
<gui>Manage Filters</gui></guiseq>.</p>
32
<p>Click <gui>Add</gui> to add a new filter, or select an existing filter
33
and click <gui>Properties</gui> to edit it.</p>
36
<p>Fill in the form or edit the fields that you wish to change:</p>
40
<p>The identifier for the filter</p>
43
<title>Regular Expression:</title>
44
<p>What the filter will filter for</p>
47
<title>Highlight:</title>
48
<p>This option emphasizes the line containing the regular expression</p>
51
<title>Background:</title>
52
<p>This is the font color</p>
54
<p>The default font color is black, which does not emphasize the
59
<title>Foreground:</title>
60
<p>This is the highlight color</p>
62
<p>The default highlight color is black, which shows solid black
63
lines as a result, so it would be wise to change it.</p>
70
<p>This option hides the lines containing the regular expression from
76
<p>Click <gui>Apply</gui> to save the new filter or save changes to an
80
<p>Back at the filter manager dialog, click <gui>Close</gui> to apply the
85
<p>Check the box next to the name of the filter that you want to enable in
86
<gui>Filters:</gui>. If you want to view only the filters which have
87
<gui>Highlight</gui> enabled and are checked, check
88
<guiseq><gui>Filters:</gui><gui>Show matches only</gui></guiseq>.</p>
91
<p>If there is a conflict between a hidden and a highlighted filter, the
92
line many show as an empty white line.</p>
96
<p>If you uncheck a filter while viewing only matches, the log will show the
97
lines without any formatting, regardless of whether they were hidden or
98
highlighted before. The filter should reset when you check a highlighted