From fcbd6ac3415d4a122d21b2e379ccf170620f45da Mon Sep 17 00:00:00 2001 From: xengineering Date: Fri, 21 Mar 2025 22:07:26 +0100 Subject: fw: syslog: Add static syslog logging Network-based logging via the syslog protocol allows to log from many IoT devices to a central log server. This makes reading logs way easier. Choosing UDP removes the need for logic keeping a state. Maybe dropped packages are acceptable for the use case but should be rare anyway. --- fw/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'fw/CMakeLists.txt') diff --git a/fw/CMakeLists.txt b/fw/CMakeLists.txt index 6ba8cec..522a4dd 100644 --- a/fw/CMakeLists.txt +++ b/fw/CMakeLists.txt @@ -20,4 +20,5 @@ project(iot-contact-fw) target_sources(app PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/src/main.c" + "${CMAKE_CURRENT_SOURCE_DIR}/src/syslog.c" ) -- cgit v1.2.3-70-g09d2