How can I change the logging.level
to a level below INFO
for the .log()
entries ? By default, it seems to log only INFO
and above. I'm unable to get it to log DEBUG
and TRACE
.
I have tried (in application.yml):
logging.level:
org.springframework.integration: DEBUG
com.my.namespace: DEBUG
but so far no success. Setting the logging.level for org.springframework.integration
to DEBUG does indeed log a whole bunch of DEBUG stuff, but not my own .log()
statements.
UPDATE:: I am using .log()
like this:
.log(DEBUG, "some category", m -> "print something using: " + m.getPayload())
But when I set the log level to DEBUG, nothing is printed. Only if I use INFO like this:
.log(INFO, "some category", m -> "print something using: " + m.getPayload())