receive packets from mrzcpd; log output supports stderr or file

This commit is contained in:
luwenpeng
2024-01-30 18:07:08 +08:00
parent 7d7cc8e90c
commit 6d1f352bc9
18 changed files with 810 additions and 141 deletions

View File

@@ -1 +1,2 @@
install(FILES stellar.toml DESTINATION conf COMPONENT Profile)
install(FILES stellar.toml DESTINATION conf COMPONENT Profile)
install(FILES log.toml DESTINATION conf COMPONENT Profile)

4
conf/log.toml Normal file
View File

@@ -0,0 +1,4 @@
[log]
output = file # stderr, file
file = stellar.log
level = DEBUG # TRACE, DEBUG, INFO, WARN, ERROR, FATAL

View File

@@ -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]