Skip to content

Commit 86d5591

Browse files
authored
Merge pull request #434 from benjaminysmith/remove_all_query_logs
Stop logging all queries as errors
2 parents 12ac99c + 12349f6 commit 86d5591

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/server/api_helpers.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,6 @@ function filter_strings($field, $values) {
156156
function execute_query($query, &$epidata, $fields_string, $fields_int, $fields_float) {
157157
global $dbh;
158158
global $MAX_RESULTS;
159-
error_log($query);
160159
$result = mysqli_query($dbh, $query . " LIMIT {$MAX_RESULTS}");
161160
if (!$result) {
162161
error_log("Bad query: ".$query);

0 commit comments

Comments
 (0)