2v0-7222 Exam QuestionsBrowse all questions from this exam

2v0-7222 Exam - Question 74


Which two statements are correct regarding the Actuator loggers endpoint? (Choose two.)

Show Answer
Correct Answer: AD

To get a logging level of a package called account.web, you can access the /actuator/loggers/account.web endpoint, which makes this statement correct. The logging levels of a package that can be accessed via the loggers endpoint include configuredLevel and effectiveLevel, making this statement correct as well.

Discussion

2 comments
Sign in to comment
james2033Options: BD
Feb 9, 2024

In application.properties , add logging.level.root=INFO management.endpoints.web.exposure.include=* Go to endpoint http://localhost:8080/actuator/loggers See https://stackoverflow.com/questions/77969003/why-spring-boot-actuator-logger-end-point-did-not-work

bugger123
Mar 5, 2024

You created the Question with A & Das correct answers. But in the comment section you are voting for B & D???

bugger123Options: AD
Mar 5, 2024

@james2033 You created the Question with A & Das correct answers. But in the comment section you are voting for B & D???