switch to error_log()

Signed-off-by: Christopher Guindon <chris.guindon@eclipse-foundation.org>
diff --git a/download.php b/download.php
index aafc629..1dd8d39 100755
--- a/download.php
+++ b/download.php
@@ -691,10 +691,10 @@
     global $app, $dbc_RW, $dbh_RW, $filetime, $filesize, $_debug;
 
     if ($_debug == 1) {
-      echo '<br />---<br />Adding file to index: addFileToIndex()<br />';
-      echo 'File ($in_file): ' . var_export($in_file, TRUE) . '<br />';
-      echo 'Filetime ($filetime): ' . var_export($filetime, TRUE) . '<br />';
-      echo 'Filesize ($filesize): ' . var_export($filesize, TRUE) . '<br />';
+      error_log('Adding file to index: addFileToIndex()');
+      error_log('File ($in_file): ' . var_export($in_file, TRUE));
+      error_log('Filetime ($filetime): ' . var_export($filetime, TRUE));
+      error_log('Filesize ($filesize): ' . var_export($filesize, TRUE));
     }
 
     # Add this file to the file index
@@ -705,8 +705,7 @@
       $inserted_id = mysqli_insert_id($dbh_RW);
       mysqli_query($dbh_RW, "UNLOCK TABLES");
       if ($_debug == 1) {
-        echo 'Inserted ID ($inserted_id): ' . var_export($inserted_id, TRUE) . '<br />';
-        echo '---<br />';
+        error_log('Inserted ID ($inserted_id): ' . var_export($inserted_id, TRUE));
       }
       return $inserted_id;
     }