在Logback中查看SQL脚本
我必须更改 Logback 中数据库附加程序的脚本。文档说它可以在这里找到:classic/src/main/java/ch/qos/logback/classic/db/dialect。所以我打开了 jar 文件来查找它。问题是我没有看到 classic/src/main/java 我确实看到了 ch/qos/logback/classic/db 但没有看到方言。我也只看到 .class 文件。任何帮助将不胜感激。
I have to change the scripts in Logback for the database appender. The documentation says it is found here:classic/src/main/java/ch/qos/logback/classic/db/dialect. So I opened teh jar file to look for it. The problem is I don't see the classic/src/main/java
I do see ch/qos/logback/classic/db but not dialect. I also only see .class files. Any help would be appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我遇到了同样的问题。发现下载的jar文件中确实缺少sql文件。但是,它们似乎在主干中,因此您可以从这里下载它们:
http://svn.qos.ch/viewvc/logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/db/dialect/
I hit the same problem. Found out the sql files really are missing from the downloaded jar files. However, they seem to be in trunk, so you can download them from here:
http://svn.qos.ch/viewvc/logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/db/dialect/
如果您下载logback-0.9.29.zip,您可以在以下位置找到它:
If you download logback-0.9.29.zip, you can find it in