You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: programs/server/config.xml
+10-5Lines changed: 10 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -72,10 +72,12 @@
72
72
</logger>
73
73
</levels>
74
74
-->
75
+
75
76
<!-- Structured log formatting:
76
-
You can specify log format(for now, JSON only). In that case, the console log will be printed
77
-
in specified format like JSON.
78
-
For example, as below:
77
+
78
+
You can specify log format(for now, JSON only).
79
+
It can be done either on a per-channel (log, errorlog, console, syslog) level (set `channel`, i.e. `<channel>console</channel>') or for all channels (omit `channel`).
80
+
The log will be printed in specified format like JSON, example:
79
81
80
82
{"date_time":"1650918987.180175","thread_name":"#1","thread_id":"254545","level":"Trace","query_id":"","logger_name":"BaseDaemon","message":"Received signal 2","source_file":"../base/daemon/BaseDaemon.cpp; virtual void SignalListener::run()","source_line":"192"}
81
83
{"date_time_utc":"2024-11-06T09:06:09Z","thread_name":"#1","thread_id":"254545","level":"Trace","query_id":"","logger_name":"BaseDaemon","message":"Received signal 2","source_file":"../base/daemon/BaseDaemon.cpp; virtual void SignalListener::run()","source_line":"192"}
@@ -91,8 +93,10 @@
91
93
However, if you comment out all the tags under <names>, the program will print default values for as
0 commit comments