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.

_______________________________________________
user mailing list
[email protected]
http://www.slf4j.org/mailman/listinfo/user

Reply via email to