1

Is there any good way to custom logging to Slf4j

I wanted to ESAPI encode all logs before printing to console.Is there any better way to do it.

currently I use

log.info("This is my log {}", id); 

is it possible to achieve with out using EsAPiLogger. It will be huge change to do in multiple places

I do not want to change the implementation in my code.

Any help on this

Patan
  • 17,073
  • 36
  • 124
  • 198

0 Answers0