Logging properties file – HP Integrity NonStop H-Series User Manual
Page 77

Table 25 Filters and conditions (continued)
Description
Type
Filter Name
This filter always returns a value false.
Standalone
deny
This filter negates the decision of its child filter.
This filter accepts just one child element, and is
also called the NOT filter.
Composite
not
This filter returns a value true if the non
localized raw message
matches the pattern.
Standalone
match
This filter defines an attribute by name pattern
which can contain any regular expression. The
regular expression constructs are as defined in
the javadocs for the
java.util.regex.Pattern class
.
This filter always returns a value true. This filter
can be used to modify a specific part of the log
Standalone
replace
message. This filter accepts the following three
attributes:
•
pattern
: This is a regular expression.
•
replacement
: This is a string that is used to
replace the part of the message that matches
the regular expression in the pattern
attribute.
•
replace-all
: This is a Boolean value. If set
to true, all part of the message that matches
the regex in the pattern attribute is replaced
by the replacement string, otherwise, only the
first occurrence is replaced.
This filter returns true if the level of the message
is more severe than the level mentioned with this
filter.
Standalone
level
This filter returns true if the level of the message
falls within the range of levels identified by this
filter. It accepts the following four attributes:
Standalone
level-range
•
min-level
: The minimum level below which
the log messages must not be logged. For
example, INFO.
•
min-inclusive
: If the value specified by
min-level
must be included in the range.
•
max-level
: The maximum level above which
the log messages must not be published.
•
max-inclusive
: If the value specified by
max-level
must be included in the range
calculation.
This filter always returns true and can be used to
change the level of the message. It accepts an
Standalone
change-level
attribute by name new-level which can contain
a value like INFO.
Logging properties file
The format of the logging.properties file is the same as defined by the JBoss Logmanager.
The following list defines and describes the characteristics of the logging.properties file:
Logging
77