On Wed, Feb 27, 2013 at 12:56 AM, Ian Boston <i...@tfd.co.uk> wrote: ... > public static final Marker COUNT = MarkerFactory.getMarker("count"); > log.info(Counter.COUNT,"read-property");...
I agree with others that this looks like abusing the logging API...my initial idea was more like log.info(Markers.INCREMENT, "{} incremented for {}", "read-property", property; which would combine logging and keeping counters in a single call...not sure if it's practical. -Bertrand (at ApacheCon, sorry about unpredictable response times)