We have code like this in a couple of places:
final String search = String.format(StatusLoggerAdminMBean.PATTERN,
escape(contextName), "*");
Where:
String PATTERN = Server.DOMAIN + ":type=%s,component=StatusLogger";
And:
public static final String DOMAIN = "org.apache.logging.log4j2";
So of course the "*" is not used.
Is the bug that we have a missing parameter marker in the pattern or that
we should not pass the extra argument?
Gary
--
E-Mail: [email protected] | [email protected]
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory