Apache Cayenne 的 velocity.log 文件是什么?

What is velocity.log file for Apache Cayenne?

我注意到 Apache Velocity 总是将日志写入文件 "velocity.log"。我们真的需要这个吗?我如何关闭它(禁用 velocity.log 输出)?

谢谢!

Apache Cayenne 正在使用 velocity 作为模板引擎:

Cayenne supports database reverse engineering and generation, as well as a Velocity-based class generation engine.

Velocity 属性 文件在里面 CayenneModeler.jar

cayenne-3.1.1\bin\CayenneModeler.jar\org\apache\velocity\runtime\defaults\velocity.properties

您可以通过更新 runtime.log = velocity.log

来更改日志