# HG changeset patch # User Michiel Broek # Date 1714056294 -7200 # Node ID 844588d0df65c3b8db15566501353560c4386d6c # Parent abe60578d695a16a490d891b82e3fb2c04548ce8 Version 0.9.19b1. Less noisy logging. diff -r abe60578d695 -r 844588d0df65 configure --- a/configure Thu Apr 25 15:10:37 2024 +0200 +++ b/configure Thu Apr 25 16:44:54 2024 +0200 @@ -2037,7 +2037,7 @@ PACKAGE="mbsePi-apps" -VERSION="0.9.19a6" +VERSION="0.9.19b1" COPYRIGHT="Copyright (C) 2014-2024 Michiel Broek, All Rights Reserved" CYEARS="2014-2024" diff -r abe60578d695 -r 844588d0df65 configure.ac --- a/configure.ac Thu Apr 25 15:10:37 2024 +0200 +++ b/configure.ac Thu Apr 25 16:44:54 2024 +0200 @@ -8,7 +8,7 @@ dnl General settings dnl After changeing the version number, run autoconf! PACKAGE="mbsePi-apps" -VERSION="0.9.19a6" +VERSION="0.9.19b1" COPYRIGHT="Copyright (C) 2014-2024 Michiel Broek, All Rights Reserved" CYEARS="2014-2024" AC_SUBST(PACKAGE) diff -r abe60578d695 -r 844588d0df65 thermferm/devices.c --- a/thermferm/devices.c Thu Apr 25 15:10:37 2024 +0200 +++ b/thermferm/devices.c Thu Apr 25 16:44:54 2024 +0200 @@ -301,9 +301,10 @@ #endif if ((device->type == DEVTYPE_W1) && (device->direction == DEVDIR_OUT_BIN) && (device->present == DEVPRESENT_YES)) { if (strncmp(device->address, (char *)"3a", 2) == 0) { - syslog(LOG_NOTICE, "DS2413 PIO%c value=%d (%s)", (device->subdevice == 0) ? 'A' : 'B', (value == 0) ? 0 : 1, device->comment); +// syslog(LOG_NOTICE, "DS2413 PIO%c value=%d (%s)", (device->subdevice == 0) ? 'A' : 'B', (value == 0) ? 0 : 1, device->comment); // pthread_mutex_lock(&mutexes[LOCK_DEVICES]); if (device->value != (value == 0) ? 0 : 1) { + syslog(LOG_NOTICE, "DS2413 PIO%c value=%d (%s)", (device->subdevice == 0) ? 'A' : 'B', (value == 0) ? 0 : 1, device->comment); device->value = (value == 0) ? 0 : 1; device->timestamp = time(NULL); devices_ws(); @@ -439,7 +440,6 @@ payloadu = NULL; } payload = xstrcat(payload, (char *)"]}"); - syslog(LOG_NOTICE, "%s", payload); ws_broadcast(payload); free(payload); payload = NULL; diff -r abe60578d695 -r 844588d0df65 thermferm/one-wire.c --- a/thermferm/one-wire.c Thu Apr 25 15:10:37 2024 +0200 +++ b/thermferm/one-wire.c Thu Apr 25 16:44:54 2024 +0200 @@ -88,7 +88,6 @@ payloadu = NULL; } payload = xstrcat(payload, (char *)"]}"); - syslog(LOG_NOTICE, "%s", payload); ws_broadcast(payload); free(payload); payload = NULL; @@ -398,7 +397,6 @@ devfile = xstrcat(devfile, cur_w1->address); devfile = xstrcat(devfile, (char *)"/temperature"); if ((fp = fopen(devfile, "r"))) { -// syslog(LOG_NOTICE, "One-wire device %s temperature is open, delay %d", cur_w1->address, conv_time); mDelay(conv_time); if ((fgets(buffer, 25, fp))) { sscanf(buffer, "%d", &value); diff -r abe60578d695 -r 844588d0df65 thermferm/websocket.c --- a/thermferm/websocket.c Thu Apr 25 15:10:37 2024 +0200 +++ b/thermferm/websocket.c Thu Apr 25 16:44:54 2024 +0200 @@ -413,7 +413,7 @@ else ringbuffer_head++; - 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);