CAS 7.2.7 - io.micrometer flooding my console logs

39 views
Skip to first unread message

gautham jampala

unread,
Mar 18, 2026, 4:27:33 PMMar 18
to CAS Community

Hello,

I am trying to turn off all io.micrometer logs but was not successful so far. Here are all the setting I tried till now, let me know if I am missing something.

In log4j2.xml:
<logger name="io.micrometer" level="OFF"  additivity="false"/>

<logger name="io.micrometer.observation.ObservationTextPublisher" level="OFF"/>
<Logger name="io.micrometer.observation" level="off" additivity="false"/>
<Logger name="io.micrometer.observation.ObservationTextPublisher" level="OFF" additivity="false" />

in cas.properties:
spring.autoconfigure.exclude=\
  org.springframework.boot.actuate.autoconfigure.metrics.JvmMetricsAutoConfiguration,\
  org.springframework.boot.actuate.autoconfigure.observation.ObservationAutoConfiguration

management.observations.export.simple.enabled=false
spring.sleuth.enabled=false

management.tracing.enabled=false
management.observations.export.simple.enabled=false
management.metrics.export.simple.enabled=false
management.simple.metrics.export.enabled=false

cas.monitor.observations.text.enabled=false

in application.yml under src.maind.resources of cas war overlay:
management:
  observations:
    enabled: false
    text:
      enabled: false
  metrics:
    enable:
      jvm:
        vt: false
cas:
  monitor:
    observations:
      text:
        enabled: false

Any help is appreciated.

Thank you,
Gautham

Petr Bodnár

unread,
Mar 21, 2026, 12:27:31 PMMar 21
to CAS Community, gautham jampala
HI Gautham,

are you sure that the logs come from CAS and that you are overriding the correct log4j2.xml? In our case, adding just the following to log4j2.xml was sufficient in CAS 7.0.x (setting just WARN, so that we don't miss potentially important problems):

<Logger name="io.micrometer.observation.ObservationTextPublisher" level="WARN" />

Best regards
Petr
Reply all
Reply to author
Forward
0 new messages