|
From: Leif M. <le...@ta...> - 2006-10-19 04:49:23
|
Indra Dutta wrote: > > I have a filter set as follows in the wrapper.conf file: > > > > wrapper.filter.trigger.1=java.lang.OutOfMemoryError > > wrapper.filter.action.1=RESTART > > > > Will this fire the trigger if the wrapper output contains the following? > > > > java.lang.OutOfMemoryError: PermGen Space > Yes. It will match. > > > > 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. > The specified filter will match any subset of the console output. You don't have to register the entire line of output. Take a look at the docs. http://wrapper.tanukisoftware.org/doc/english/prop-filter-x-n.html Cheers, Leif |