Is there a way to extend the Spring Actuator logger and invoke it from my own controller, so that I can do some security validations? For example, something like this: Answer You can secure the endpoint using Spring Security. See Securing HTTP Endpoints. If Spring Security is not an option and you do want to control logging in some other