Debug logging reactivated in the crontask.

Tue, 28 May 2019 20:54:39 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Tue, 28 May 2019 20:54:39 +0200
changeset 379
2aa6addc1853
parent 378
2737a3c4db50
child 380
2242521067a7

Debug logging reactivated in the crontask.

www/crontasks.php file | annotate | diff | comparison | revisions
--- a/www/crontasks.php	Sun May 26 21:59:18 2019 +0200
+++ b/www/crontasks.php	Tue May 28 20:54:39 2019 +0200
@@ -519,7 +519,7 @@
      */
     if ($savethis == 1) {
     	$sql2 = "UPDATE products SET inventory_reduced=".$row['inventory_reduced']." WHERE uuid = '" . $row['uuid'] . "';";
-//    	syslog(LOG_NOTICE, $sql2);
+    	syslog(LOG_NOTICE, $sql2);
     	$result2 = mysqli_query($connect, $sql2);
     	$ar = mysqli_affected_rows($connect);
 	if ($ar != 1) {

mercurial