diff options
Diffstat (limited to 'fw')
| -rw-r--r-- | fw/src/syslog.c | 10 | 
1 files changed, 7 insertions, 3 deletions
diff --git a/fw/src/syslog.c b/fw/src/syslog.c index 3291c0e..b1a1077 100644 --- a/fw/src/syslog.c +++ b/fw/src/syslog.c @@ -27,10 +27,12 @@ void l4_event_handler(  	uint32_t event,  	struct net_if *iface)  { +	LOG_DBG("Executing L4 event handler"); +  	switch (event) {  	case NET_EVENT_L4_CONNECTED: -		LOG_INF("Network connected");  		k_sem_give(&network_connected); +		LOG_INF("Network connected");  		break;  	case NET_EVENT_L4_DISCONNECTED:  		LOG_INF("Network disconnected"); @@ -51,10 +53,12 @@ SYS_INIT(init_network_monitoring, APPLICATION, 0);  int init_syslog(void)  { -	LOG_INF("Waiting for network ..."); +	LOG_DBG("Initializing syslog logging backend"); + +	LOG_DBG("Waiting for network ...");  	k_sem_take(&network_connected, K_FOREVER); -	LOG_INF("Enabling syslog backend"); +	LOG_DBG("Enabling syslog backend");  	const struct log_backend *backend = log_backend_net_get();  	if (log_backend_is_active(backend) == false) {  		/* flush log messages to ensure first syslog message is reproducible */  | 
