LibreChat/api/utils
Dan Orlando 53ea3dd9fb
Feature/logging system with pino and sanitization (#214) (#227)
* feat: Create structured data logging system with Pino

This commit creates a new feature that enables structured data logging using the Pino logging library. The structured data logging feature allows for more granular and customizable logging, making it easier to analyze and debug issues in the application.

The changes made in this commit include:
- Adding support for structured data logging using the Pino API
- Adding support to redact sensible data from logging output using pino
  redact.
- Pino integrate natively with fluentd, logstash, Docker Logging Drivers
  and other JSON based system.

* Add pino package to project

* Logging-System: Add support for an array of regex to redact

* Logging-Systems: Add Redact Patterns and Pino Redact Paths + Boolean logics wasn't right.

Co-authored-by: Olivier Contant <ocontant@users.noreply.github.com>
2023-05-10 23:59:26 -04:00
..
emails feat: Auth and User System (#205) 2023-05-07 10:04:51 -07:00
debug.js feat: Auth and User System (#205) 2023-05-07 10:04:51 -07:00
genAzureEndpoints.js feat(chatgpt-client.js, titleConvo.js, genAzureEndpoints.js): add support for Azure OpenAI API endpoint generation (#234) 2023-05-10 23:47:26 -04:00
LoggingSystem.js Feature/logging system with pino and sanitization (#214) (#227) 2023-05-10 23:59:26 -04:00
migrateDataToFirstUser.js feat: Auth and User System (#205) 2023-05-07 10:04:51 -07:00
sendEmail.js feat: Auth and User System (#205) 2023-05-07 10:04:51 -07:00