summaryrefslogtreecommitdiff
path: root/conf/stellar.toml
diff options
context:
space:
mode:
authorluwenpeng <[email protected]>2024-10-09 10:01:20 +0800
committerluwenpeng <[email protected]>2024-10-09 10:02:42 +0800
commit0f082d975ec067e268d868b0855083caaeff9522 (patch)
tree7bcecc3aa50aa0a2941361797bdedbdf6e0af9a4 /conf/stellar.toml
parentd9d9b4728dbb9b8c4aaef17a41067eb173744cb9 (diff)
stellar registers packet_manager as a module; session_manager registers polling callback
Diffstat (limited to 'conf/stellar.toml')
-rw-r--r--conf/stellar.toml22
1 files changed, 21 insertions, 1 deletions
diff --git a/conf/stellar.toml b/conf/stellar.toml
index f5d4040..b71d869 100644
--- a/conf/stellar.toml
+++ b/conf/stellar.toml
@@ -61,4 +61,24 @@
[stat]
merge_interval_ms = 500 # range: [0, 60000] (ms)
- output_interval_ms = 1000 # range: [0, 60000] (ms) \ No newline at end of file
+ output_interval_ms = 1000 # range: [0, 60000] (ms)
+
+[log]
+ output = "both" # stderr, file, both
+ file = "log/stellar.log"
+ level = "INFO" # TRACE, DEBUG, INFO, WARN, ERROR, FATAL
+
+[[module]]
+path = ""
+init = "polling_manager_on_init"
+exit = "polling_manager_on_exit"
+
+[[module]]
+path = ""
+init = "packet_manager_on_init"
+exit = "packet_manager_on_exit"
+
+[[module]]
+path = ""
+init = "session_manager_on_init"
+exit = "session_manager_on_exit" \ No newline at end of file