0

currently I'm trying to set trace logging level for internal JDK classes, especially for the new HttpClient.

When I add to my application.yaml:

logging:
 level:
  root: INFO

Everything logs in trace.

But when I want to enable trace logging only for JDK packages like:

logging:
  level:
    root: INFO
    jdk.internal.net.http: TRACE

Those packages don't start log in trace, the entire app uses root level, which is INFO. What do I need to solve this problem? Thanks guys.

Simon
  • 997
  • 1
  • 15
  • 29

0 Answers0