disable logs display

This commit is contained in:
shimon
2025-02-23 20:51:38 +02:00
parent 9fa13ddfd8
commit 06d22f910c
5 changed files with 40 additions and 20 deletions
+12 -6
View File
@@ -723,8 +723,10 @@ App::get('/v1/databases/:databaseId/logs')
}
$response->dynamic(new Document([
'total' => $audit->countLogsByResource($resource),
'logs' => $output,
//'total' => $audit->countLogsByResource($resource),
//'logs' => $output,
'total' => 0,
'logs' => [],
]), Response::MODEL_LOG_LIST);
});
@@ -1112,8 +1114,10 @@ App::get('/v1/databases/:databaseId/collections/:collectionId/logs')
}
$response->dynamic(new Document([
'total' => $audit->countLogsByResource($resource),
'logs' => $output,
//'total' => $audit->countLogsByResource($resource),
//'logs' => $output,
'total' => 0,
'logs' => [],
]), Response::MODEL_LOG_LIST);
});
@@ -3763,8 +3767,10 @@ App::get('/v1/databases/:databaseId/collections/:collectionId/documents/:documen
}
$response->dynamic(new Document([
'total' => $audit->countLogsByResource($resource),
'logs' => $output,
//'total' => $audit->countLogsByResource($resource),
//'logs' => $output,
'total' => 0,
'logs' => [],
]), Response::MODEL_LOG_LIST);
});