Turned off debug logs in ws_broadcast

Tue, 12 May 2020 15:22:28 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Tue, 12 May 2020 15:22:28 +0200
changeset 676
b0718965dcb1
parent 675
a27af02ab16a
child 677
6e82fece1f8f

Turned off debug logs in ws_broadcast

bmsd/websocket.c file | annotate | diff | comparison | revisions
--- a/bmsd/websocket.c	Tue May 12 15:13:06 2020 +0200
+++ b/bmsd/websocket.c	Tue May 12 15:22:28 2020 +0200
@@ -184,8 +184,7 @@
     	else
             ringbuffer_head++;
 
-//    syslog(LOG_NOTICE, "ws: %d %s", ringbuffer_head, msg);
-    	syslog(LOG_NOTICE, "ws: broadcast buffer=%d  len=%d", ringbuffer_head, len);
+//    	syslog(LOG_NOTICE, "ws: broadcast buffer=%d  len=%d", ringbuffer_head, len);
 
     	lws_callback_on_writable_all_protocol(context, &protocols[0]);
     	err = pthread_mutex_unlock(&ws_mutex);

mercurial