AspectJ maven plugin allows logging execution of any selected methods without changes in the application code. The plugin still does not support Java 17, one has to use its alternative. — Detailed logs can be helpful for debugging or performance monitoring. If you want to log execution of many methods, you do not need to pollute those methods with calls to a logger. Without changing the application code you can log any method name, its arguments, return value and execution time.