diff -r 67b1a07f4fd8 -r 69545bdc2890 www/includes/db_product.php --- a/www/includes/db_product.php Sat Sep 25 14:08:25 2021 +0200 +++ b/www/includes/db_product.php Tue Oct 19 09:08:31 2021 +0200 @@ -1210,7 +1210,6 @@ if ($stage == $inventory_reduced) { return; } - syslog(LOG_NOTICE, "inventory_reduce() stage: ".$stage." inventory_reduced: ".$inventory_reduced); /* Nothing to reduce yet, but just set the $inventory_reduced */ if (($stage >= 1) && ($inventory_reduced < 1)) { @@ -1304,7 +1303,6 @@ * After the Primary fermentation */ if (($stage >= 4) && ($inventory_reduced < 4)) { - syslog(LOG_NOTICE, "Reduce Primary inventory from " . $_POST['code'] . " " . $_POST['name']); if (isset($_POST['fermentables'])) { $array = $_POST['fermentables']; @@ -1342,7 +1340,6 @@ * After the Seconday fermentation */ if (($stage >= 5) && ($inventory_reduced < 5)) { - syslog(LOG_NOTICE, "Reduce Secondary inventory from " . $_POST['code'] . " " . $_POST['name']); if (isset($_POST['yeasts'])) { $array = $_POST['yeasts']; @@ -1362,7 +1359,6 @@ * After the Tertiary fermentation */ if (($stage >= 6) && ($inventory_reduced < 6)) { - syslog(LOG_NOTICE, "Reduce Tertiary inventory from " . $_POST['code'] . " " . $_POST['name']); if (isset($_POST['fermentables'])) { $array = $_POST['fermentables']; @@ -1409,7 +1405,6 @@ * reduce sugars(4/5-bottle), yeasts(3-Bottle), miscs(5-bottling) */ if (($stage >= 6) && ($inventory_reduced < 7)) { - syslog(LOG_NOTICE, "Reduce Packaging inventory from " . $_POST['code'] . " " . $_POST['name']); if (isset($_POST['fermentables'])) { $array = $_POST['fermentables']; @@ -1454,7 +1449,6 @@ */ if ($savethis == 1) { $sql2 = "UPDATE products SET stage=".$stage.", inventory_reduced=".$inventory_reduced." WHERE record='".$_POST['record']."';"; - syslog(LOG_NOTICE, $sql2); $result2 = mysqli_query($connect, $sql2); $ar = mysqli_affected_rows($connect); if ($ar != 1) {