[slf4j-user] Using Marker
Sonu Gopal Sachdeva
sonugopal at gmail.com
Sun Feb 11 02:20:11 CET 2007
Hi,
Is there some documentation available on how to use Markers in Slf4j.
I am trying to run a test program with markers, to see how the log
statements are "enriched".
public TestMarker() {
Logger logger = LoggerFactory.getLogger(getClass());
Marker marker = MarkerFactory.getMarker("Marker1");
logger.debug(marker, "entry");
}
But what gets logged is for the following conversion parameter
[%C:%M:%L][Level:%p]%m%n
[org.slf4j.impl.MarkerIgnoringBase:debug:55][Level:DEBUG]entry
thanks,
Sonu.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/slf4j-user/attachments/20070211/dbc76df5/attachment.htm>
More information about the slf4j-user
mailing list