diff options
| author | luwenpeng <[email protected]> | 2024-10-09 10:01:20 +0800 |
|---|---|---|
| committer | luwenpeng <[email protected]> | 2024-10-09 10:02:42 +0800 |
| commit | 0f082d975ec067e268d868b0855083caaeff9522 (patch) | |
| tree | 7bcecc3aa50aa0a2941361797bdedbdf6e0af9a4 /conf | |
| parent | d9d9b4728dbb9b8c4aaef17a41067eb173744cb9 (diff) | |
stellar registers packet_manager as a module; session_manager registers polling callback
Diffstat (limited to 'conf')
| -rw-r--r-- | conf/CMakeLists.txt | 3 | ||||
| -rw-r--r-- | conf/log.toml | 4 | ||||
| -rw-r--r-- | conf/stellar.toml | 22 |
3 files changed, 22 insertions, 7 deletions
diff --git a/conf/CMakeLists.txt b/conf/CMakeLists.txt index 5040b1e..d4c645b 100644 --- a/conf/CMakeLists.txt +++ b/conf/CMakeLists.txt @@ -1,2 +1 @@ -install(FILES stellar.toml DESTINATION conf COMPONENT PROGRAM) -install(FILES log.toml DESTINATION conf COMPONENT PROGRAM)
\ No newline at end of file +install(FILES stellar.toml DESTINATION conf COMPONENT PROGRAM)
\ No newline at end of file diff --git a/conf/log.toml b/conf/log.toml deleted file mode 100644 index 6df9dc6..0000000 --- a/conf/log.toml +++ /dev/null @@ -1,4 +0,0 @@ -[log] -output = "both" # stderr, file, both -file = "log/stellar.log" -level = "INFO" # TRACE, DEBUG, INFO, WARN, ERROR, FATAL 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 |
