VelocityViewServlet configures the Velocity engine to use the ServletLogger (~line 323). Integration of the servlet into applications that use other logging systems (e.g. log4j / commons-logging) is very hard because of that.
- VVS should honor the logging setttings in velocity.properties (e.g. for explicit jdk logging)
- It should add the ServletLogger to the log engine search path and only use it if no other logger was found (log4j / avalon etc.)
- The ServletLogger class implements the deprecated LogSystem. VelocityTools should provide a LogChute implementation of the SrevletLogger.