Are you using velocity and ignore the log files that it produces? They seem to grow pretty darn quickly.
I recently added the following code to setup velocity before it is used:
Velocity.setProperty(RuntimeConstants.FILE_RESOURCE_LOADER_PATH, insert default directory for your templates);
Velocity.setProperty(RuntimeConstants.RUNTIME_LOG, insert the location of the log);
Velocity.setProperty(RuntimeConstants.RUNTIME_LOG_LOGSYSTEM_CLASS,
DEBUG ? “org.apache.velocity.runtime.log.SimpleLog4JLogSystem”
: “org.apache.velocity.runtime.log.NullLogSystem“);
Now unless in debug mode the logs aren’t in the way.
September 28th, 2006 at 3:54 am
Hi! cool blog. thx.
June 27th, 2008 at 10:30 pm
thanks for your sharing.