diff options
author | xengineering <me@xengineering.eu> | 2025-04-15 18:41:27 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2025-04-15 18:41:27 +0200 |
commit | 11967efab73c43bc5b0c6da33c140dbab7baefa7 (patch) | |
tree | 8010da7d35da150933a677e8241ef5df8b15b619 | |
parent | 409348732bb4cd6ec0c06c4b38f26f528313ffdf (diff) | |
download | iot-contact-11967efab73c43bc5b0c6da33c140dbab7baefa7.tar iot-contact-11967efab73c43bc5b0c6da33c140dbab7baefa7.tar.zst iot-contact-11967efab73c43bc5b0c6da33c140dbab7baefa7.zip |
fw: app: syslog: Stop supporting CONFIG_LOG_BACKEND_NET_SERVER
From now on the mixed format with IP and port is not supported. The
settings system should keep them separate and first only the IP is
configurable.
Supporting this Kconfig option too is annoying and not necessary.
-rw-r--r-- | fw/app/prj.conf | 1 | ||||
-rw-r--r-- | fw/app/src/syslog.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/fw/app/prj.conf b/fw/app/prj.conf index 3258c0f..10de150 100644 --- a/fw/app/prj.conf +++ b/fw/app/prj.conf @@ -21,7 +21,6 @@ CONFIG_NET_IF_UNICAST_IPV6_ADDR_COUNT=4 CONFIG_LOG=y CONFIG_LOG_BACKEND_NET=y -CONFIG_LOG_BACKEND_NET_SERVER="[2001:db8::2]:514" CONFIG_LOG_BACKEND_NET_AUTOSTART=n CONFIG_LOG_MODE_DEFERRED=y diff --git a/fw/app/src/syslog.c b/fw/app/src/syslog.c index c3b5815..47b2edb 100644 --- a/fw/app/src/syslog.c +++ b/fw/app/src/syslog.c @@ -33,7 +33,7 @@ LOG_MODULE_REGISTER(syslog); struct net_mgmt_event_callback l4_cb; static K_SEM_DEFINE(network_connected, 0, 1); -static char target_ip[IPV6_STRLEN_MAX] = CONFIG_LOG_BACKEND_NET_SERVER; +static char target_ip[IPV6_STRLEN_MAX] = "2001:db8::2"; void l4_event_handler( struct net_mgmt_event_callback *cb, |