summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorluwenpeng <[email protected]>2024-01-30 18:07:08 +0800
committerluwenpeng <[email protected]>2024-01-30 18:09:12 +0800
commit6d1f352bc93571d51e05fe576165085fee7355e6 (patch)
treebda07eb227ff37e443d8ddf04923d885375f58ff /conf
parent7d7cc8e90cdd13a00736f66091865af90468c619 (diff)
receive packets from mrzcpd; log output supports stderr or file
Diffstat (limited to 'conf')
-rw-r--r--conf/CMakeLists.txt3
-rw-r--r--conf/log.toml4
-rw-r--r--conf/stellar.toml4
3 files changed, 8 insertions, 3 deletions
diff --git a/conf/CMakeLists.txt b/conf/CMakeLists.txt
index b27f5b5..326ef77 100644
--- a/conf/CMakeLists.txt
+++ b/conf/CMakeLists.txt
@@ -1 +1,2 @@
-install(FILES stellar.toml DESTINATION conf COMPONENT Profile) \ No newline at end of file
+install(FILES stellar.toml DESTINATION conf COMPONENT Profile)
+install(FILES log.toml DESTINATION conf COMPONENT Profile) \ No newline at end of file
diff --git a/conf/log.toml b/conf/log.toml
new file mode 100644
index 0000000..c49b2ce
--- /dev/null
+++ b/conf/log.toml
@@ -0,0 +1,4 @@
+[log]
+output = file # stderr, file
+file = stellar.log
+level = DEBUG # TRACE, DEBUG, INFO, WARN, ERROR, FATAL
diff --git a/conf/stellar.toml b/conf/stellar.toml
index a1527c7..7970769 100644
--- a/conf/stellar.toml
+++ b/conf/stellar.toml
@@ -1,6 +1,6 @@
[system]
-app_symbol = "stellar"
-dev_symbol = "eth0"
+app_symbol = stellar
+dev_symbol = nf_0_fw
nr_threads = 1
cpu_mask = [5, 6, 7, 8, 9, 10, 11, 12]