Details
-
Task
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
-
Not Needed
-
Iteration Gargoyleosaurus
Description
Currently, we log only the shape of the requests:
req.logger.info('Performing a query generation request', { |
hasSchema: !!req.body.schema,
|
hasCollectionName: !!req.body.collectionName,
|
hasSampleDocuments: !!req.body.hasSampleDocuments,
|
});
|
And errors in responses:
req.logger.error('Error occurred', err); |
For the internal beta, we want to log full requests and responses to learning from this experience how good our prompts are at building MongoDB queries. Since we don't use sample documents we should be okay from security perspective.
Attachments
Issue Links
- causes
-
COMPASS-7061 Removed request logging before the feature moves to public preview
-
- Closed
-