|
From: Leif M. <le...@ta...> - 2006-10-19 01:46:08
|
Indra,
Yes. As described on the following page, the string will be matched
against
the configured text wherever it exists in the output.
http://wrapper.tanukisoftware.org/doc/english/prop-filter-x-n.html
Note that the filter works my monitoring console output, it is not
able to
trigger off of exceptions that are caught internally without any console
output.
When you ask about matching a pattern, are you referring to
wildcards like
this "My*Error"? While that would be possible, it would probably be a
bit slow
when used. Not unusable however. Feel free to submit a feature request
describing exactly what you would like to see.
Cheers,
Leif
Indra Dutta wrote:
>
> I have a filter set as follows:
>
>
>
> wrapper.filter.trigger.1=java.lang.OutOfMemoryError
>
> wrapper.filter.action.1=RESTART
>
>
>
> Will this cause the trigger if the wrapper output contains the following?
>
>
>
> java.lang.OutOfMemoryError: PermGen Space
>
>
>
> In other words, does wrapper look for an exact match of the string
> specified by wrapper.filter.trigger.n property? If so, it will be
> nice to have a feature where user can simply specify a pattern to look
> for instead of a literal string.
>
>
>
> - Indra
>
>
>
|