summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorluwenpeng <[email protected]>2024-08-20 19:20:24 +0800
committerluwenpeng <[email protected]>2024-08-20 19:23:18 +0800
commitb46a5d4b23f1eddb7dc5ebebff7e2523fc229fe5 (patch)
tree603bd041e174bdf6595ae3dfb336c750ddb932d6 /conf
parentf061f9abc1208f1fb000aa0e75cad4ed72106bbd (diff)
enhance: toml format
Diffstat (limited to 'conf')
-rw-r--r--conf/log.toml6
-rw-r--r--conf/stellar.toml6
2 files changed, 6 insertions, 6 deletions
diff --git a/conf/log.toml b/conf/log.toml
index 64b5fea..a51abd8 100644
--- a/conf/log.toml
+++ b/conf/log.toml
@@ -1,4 +1,4 @@
[log]
-output = file # stderr, file
-file = "log/stellar.log"
-level = FATAL # TRACE, DEBUG, INFO, WARN, ERROR, FATAL
+output = "stderr" # stderr, file
+file = "log/stellar.log"
+level = "ERROR" # TRACE, DEBUG, INFO, WARN, ERROR, FATAL
diff --git a/conf/stellar.toml b/conf/stellar.toml
index 275294a..708acc0 100644
--- a/conf/stellar.toml
+++ b/conf/stellar.toml
@@ -3,9 +3,9 @@ snowflake_base = 1 # [0, 31]
snowflake_offset = 2 # [0, 127]
[packet_io]
-mode = dumpfile # dumpfile, dumpfilelist, marsio
-app_symbol = stellar
-dev_symbol = nf_0_fw
+mode = "dumpfile" # dumpfile, dumpfilelist, marsio
+app_symbol = "stellar"
+dev_symbol = "nf_0_fw"
dumpfile_path = "/tmp/dumpfile/dumpfile.pcap"
#dumpfile_path = "/tmp/dumpfile/dumpfilelist"