In our webapp, we use java.util.Logging (JULI, actually, since we are deploying Tomcat 6). Logging is configured using the logging.properties file in WEB-INF / classes, a la this .
I would like to configure the logger so that it can be automatically installed, for example:
@Autowired
private Logger mylogger;
I searched the Spring, Web, and of course Stack Overflow forums, and I cannot find how to install this. I would appreciate any help with this.
Thank!
source
share