LibreChat/api
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
..
app refactor(titleConvo.js, endpoints.js): add support for AZURE_OPENAI_API_KEY environment variable (#235) 2023-05-10 23:56:24 -04:00
lib * refactor(getCitations.js): add null check for adaptiveCards variable before accessing its properties (#232) 2023-05-10 21:23:15 -04:00
middleware feat: Auth and User System (#205) 2023-05-07 10:04:51 -07:00
models Update Message.js (#191) 2023-05-09 17:51:39 -04:00
server refactor(titleConvo.js, endpoints.js): add support for AZURE_OPENAI_API_KEY environment variable (#235) 2023-05-10 23:56:24 -04:00
strategies fix issue with validation when google account has multiple spaces in name (#211) 2023-05-07 20:31:27 -04:00
utils Feature/logging system with pino and sanitization (#214) (#227) 2023-05-10 23:59:26 -04:00
.env.example Feat: Add Azure support (#219) 2023-05-09 17:42:55 -04:00
.eslintrc.js chore: eslint rules and blinker update in text handling 2023-03-21 13:41:31 -04:00
.prettierrc feat(api): add support for saving messages to database 2023-04-09 11:17:08 -04:00
nodemon.json fix: ignoreDir pointing correctly 2023-03-07 13:49:15 -05:00
package-lock.json Feature/logging system with pino and sanitization (#214) (#227) 2023-05-10 23:59:26 -04:00
package.json Feature/logging system with pino and sanitization (#214) (#227) 2023-05-10 23:59:26 -04:00