Questions tagged as 'slf4j'

1
answer

Mapped Diagnostic Context (MDC) with logger SLF4J in jboss / wildfly 10 is cleared

I set up my web application to use an MDC like this: MDC.put("cliente", "TEST"); org.slf4j.MDC.put("cliente2", "TEST2"); Inside the start class for the REST service javax.ws.rs.core.Application import org.jboss.logging.MDC; @Ap...
asked by 02.03.2018 / 01:44
0
answers

The .jar executable does not find the logback.xml

I have a maven project with the logback.xml file in src / main / resources with the following configuration: <?xml version="1.0" encoding="UTF-8"?> <!-- turn debug=true on for logback-test.xml to help debug logging configurations. --...
asked by 13.12.2018 / 20:20