Which two statements are correct regarding the Actuator loggers endpoint? (Choose two.)
Suggested Answer: A, D
Get Premium 2V0-72.22 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
27 comments · newest first
VA
Val
11 months ago
I heard you need a logger dependency for C, makes sense!
LE
Lettie
11 months ago
Wait, are you sure about B? I thought you could change levels without a restart.
DY
Dyan
12 months ago
Yeah, D sounds right, but I’m not 100% on the terms used.
TE
Tesha
12 months ago
Totally agree, D is also spot on!
CL
Clarence
12 months ago
A is correct, you can access the logging level like that.
AN
Angelyn
1 year ago
I vaguely recall something about logging levels, and option D seems plausible, but I can't remember the exact terms used in the loggers endpoint.
CA
Carey
1 year ago
I’m a bit confused about option C; I thought the loggers endpoint was available by default without needing extra dependencies.
DA
Daren
1 year ago
I remember practicing a question about changing logging levels, and I feel like option B might be correct since I think a restart is usually needed.
HU
Huey
1 year ago
I think option A sounds familiar, but I'm not entirely sure if the endpoint structure is exactly like that.
CR
Crissy
1 year ago
I think I've got it. A and D are correct, and C is also true - you do need a logger implementation like Logback or Log4j to use the loggers endpoint.
OR
Orville
1 year ago
Okay, let me think this through. I know the loggers endpoint is used to manage logging levels, so A and D sound right. But I'm not sure about the logger implementation dependency.
WI
Wilda
1 year ago
Hmm, I'm a bit unsure about the application restart requirement. I'll need to double-check that.
NO
Noemi
1 year ago
I'm pretty confident about this one. I think the correct answers are A and D.
HI
Hillary
2 years ago
Logging levels, you say? I bet there's a joke in there about 'DEBUG'ing my code, but I'll spare you the pun.
SA
Salena
2 years ago
B) An application restart is required to change the logging level of the package.
UL
Ula
2 years ago
D) The logging levels of a package that can be accessed via the loggers endpoint include configuredLevel and effectiveLevel.
NG
Nguyet
2 years ago
Haha, debugging jokes are always welcome!
TE
Tegan
2 years ago
D) The logging levels of a package that can be accessed via the loggers endpoint include configuredLevel and effectiveLevel.
AD
Adolph
2 years ago
A) To get a logging level of a package called account.web, you can access the /actuator/loggers/account.web endpoint.
VI
Viva
2 years ago
A) To get a logging level of a package called account.web, you can access the /actuator/loggers/account.web endpoint.
AN
Angella
2 years ago
Hmm, I wonder if the loggers endpoint will let me turn on 'TRACE' level just to see what's really going on under the hood. *rubs hands together* This could be fun.
NI
Nikita
2 years ago
Wait, do I really need to restart the whole app just to adjust a logging level? That's a bit of a drag, isn't it?
JO
Joni
2 years ago
Aha, the loggers endpoint is where I can fine-tune my application's verbosity! A and D seem spot on.
DE
Deonna
2 years ago
I believe C is incorrect because the logger implementation dependency is not needed for the loggers endpoint.
KA
Kayleigh
2 years ago
I'm not sure about B, do we really need to restart the application to change logging levels?
DE
Devora
2 years ago
I agree with A, but I also think D is correct because it talks about logging levels.
KI
Kimbery
2 years ago
I think A is correct because it mentions accessing the /actuator/loggers endpoint.