|
From: Leif M. <le...@ta...> - 2005-10-03 01:59:09
|
Jamie,
I just confirmed that this does indeed work correctly. Also added
another example to
the docs as you suggested. The changes will be in the 3.2.0 docs.
Note that any leading or trailing spaces will be trimmed from the
property when it is
loaded from the configuration file. Spaces in the resulting string will
be treated as part
of the filter.
Cheers,
Leif
Jamie Jennings wrote:
> Hi. I'm attempting to use a filter in the java service wrapper and am
> wondering about the behaviour of the string matching with respect to
> whitespace. Given that the page states " The trigger can be any
> string." I would assume that whitespace doesn't make a difference,
> unfortunately it does not specifically state such and the listed
> examples contain no whitespace.
>
> Can anyone confirm whether whitespace is acceptable and if so, would
> it be possible to at least add an example to the page using whitespace?
>
> For example:
>
>wrapper.filter.trigger.3=A fatal system error has occurred.
>wrapper.filter.action.3=RESTART
>
> Website:
> http://wrapper.tanukisoftware.org/doc/english/prop-filter-x-n.html
|