提交 a0f8ab3c authored 作者: Thomas Mueller's avatar Thomas Mueller

When using trace level 4 (SLF4J) in the server mode, a directory "trace.db" and…

When using trace level 4 (SLF4J) in the server mode, a directory "trace.db" and an empty file was created on the client side. This is no longer made.
上级 2a9fa06c
......@@ -341,7 +341,7 @@ public class SessionRemote extends SessionWithState implements DataHandler {
String prefix = getFilePrefix(SysProperties.CLIENT_TRACE_DIRECTORY);
try {
traceSystem.setLevelFile(level);
if (level > 0) {
if (level > 0 && level < 4) {
String file = FileUtils.createTempFile(prefix, Constants.SUFFIX_TRACE_FILE, false, false);
traceSystem.setFileName(file);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论