This is an automated email from the ASF dual-hosted git repository.
jiangtian pushed a commit to branch log_tool
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git
The following commit(s) were added to refs/heads/log_tool by this push:
new 2ef1009 update comments of code position
2ef1009 is described below
commit 2ef1009f52158ada31c4e9d43cc66a192327717c
Author: jt <[email protected]>
AuthorDate: Wed Sep 4 09:15:18 2019 +0800
update comments of code position
---
.../src/assembly/resources/tools/logVisualize/default.log.pattern | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git
a/server/src/assembly/resources/tools/logVisualize/default.log.pattern
b/server/src/assembly/resources/tools/logVisualize/default.log.pattern
index 1f808fe..8c3add7 100644
--- a/server/src/assembly/resources/tools/logVisualize/default.log.pattern
+++ b/server/src/assembly/resources/tools/logVisualize/default.log.pattern
@@ -31,10 +31,13 @@ date_index=1
date_pattern=yyyy-MM-dd hh:mm:ss,SSS
# The index of the group which represents the thread name, one based, optional
thread_name_index=2
-# The index of the group which represents the log level, one based, optional
+# The index of the group which represents the log level, one based, optional.
If not set, all levels
+# of logs are accepted.
level_index=3
# The index of the group which represents the position of the code (class name
and line number)
-# that generated the log, one based
+# that generated the log, one based and optional. Currently we only support
code positions like:
+# "org.apache.iotdb.db.service.IoTDB:233". If your logs have different style
of code position, please
+# do not set this.
code_location_index=4
# The index of the group which represents the message in the log, one based,
optional
content_index=6