Hi,

We have some applications which use Splunk for log analysis. To make better
use of the query language we used objects to represent log message and
key/value pairs. Now we are trying to move from Log4j to Slf4j and one
issue is that Slf4j only support string messages, so currently we serialize
key/values before calling to slf4j and rehydrate them at the layout, but
this is not optimal in terms of both performance and clarity. I understand
the reasons behind http://www.slf4j.org/faq.html#string_or_object though,
so is there some other way to achieve structured logging in Slf4j?

Thanks,

Max
_______________________________________________
slf4j-user mailing list
slf4j-user@qos.ch
http://mailman.qos.ch/mailman/listinfo/slf4j-user

Reply via email to