[PR #1811] [MERGED] Add winston logging for production #3789

Closed
opened 2026-02-22 18:34:30 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/1811
Author: @timothycarambat
Created: 7/3/2024
Status: Merged
Merged: 7/3/2024
Merged by: @timothycarambat

Base: masterHead: 1686-better-logging


📝 Commits (1)

  • d375d0d Add winston logging for production

📊 Changes

17 files changed (+310 additions, -92 deletions)

View changed files

📝 collector/index.js (+1 -0)
📝 collector/package.json (+1 -0)
collector/utils/logger/index.js (+52 -0)
📝 collector/yarn.lock (+123 -3)
📝 server/endpoints/api/document/index.js (+7 -7)
📝 server/endpoints/api/openai/index.js (+4 -4)
📝 server/endpoints/api/system/index.js (+6 -6)
📝 server/endpoints/api/userManagement/index.js (+1 -1)
📝 server/endpoints/api/workspace/index.js (+9 -9)
📝 server/endpoints/api/workspaceThread/index.js (+6 -6)
📝 server/endpoints/embed/index.js (+2 -2)
📝 server/endpoints/system.js (+14 -14)
📝 server/endpoints/workspaceThreads.js (+8 -8)
📝 server/endpoints/workspaces.js (+13 -13)
📝 server/index.js (+2 -1)
📝 server/utils/BackgroundWorkers/index.js (+10 -18)
server/utils/logger/index.js (+51 -0)

📄 Description

Pull Request Type

  • feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

Relevant Issues

resolves #1686
closes #1715

What is in this change?

  • Add better logging for jobs, backend, and collector

Additional Information

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Mintplex-Labs/anything-llm/pull/1811 **Author:** [@timothycarambat](https://github.com/timothycarambat) **Created:** 7/3/2024 **Status:** ✅ Merged **Merged:** 7/3/2024 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `1686-better-logging` --- ### 📝 Commits (1) - [`d375d0d`](https://github.com/Mintplex-Labs/anything-llm/commit/d375d0df1667385b6dd1aece8b14c767f09e9951) Add `winston` logging for production ### 📊 Changes **17 files changed** (+310 additions, -92 deletions) <details> <summary>View changed files</summary> 📝 `collector/index.js` (+1 -0) 📝 `collector/package.json` (+1 -0) ➕ `collector/utils/logger/index.js` (+52 -0) 📝 `collector/yarn.lock` (+123 -3) 📝 `server/endpoints/api/document/index.js` (+7 -7) 📝 `server/endpoints/api/openai/index.js` (+4 -4) 📝 `server/endpoints/api/system/index.js` (+6 -6) 📝 `server/endpoints/api/userManagement/index.js` (+1 -1) 📝 `server/endpoints/api/workspace/index.js` (+9 -9) 📝 `server/endpoints/api/workspaceThread/index.js` (+6 -6) 📝 `server/endpoints/embed/index.js` (+2 -2) 📝 `server/endpoints/system.js` (+14 -14) 📝 `server/endpoints/workspaceThreads.js` (+8 -8) 📝 `server/endpoints/workspaces.js` (+13 -13) 📝 `server/index.js` (+2 -1) 📝 `server/utils/BackgroundWorkers/index.js` (+10 -18) ➕ `server/utils/logger/index.js` (+51 -0) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [ ] ✨ feat - [ ] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [x] 🔨 chore - [ ] 📝 docs ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #1686 closes #1715 ### What is in this change? - Add better logging for jobs, backend, and collector <!-- Describe the changes in this PR that are impactful to the repo. --> ### Additional Information <!-- Add any other context about the Pull Request here that was not captured above. --> ### Developer Validations <!-- All of the applicable items should be checked. --> - [x] I ran `yarn lint` from the root of the repo & committed changes - [x] Relevant documentation has been updated - [x] I have tested my code functionality - [x] Docker build succeeds locally --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 18:34:30 -05:00
yindo closed this issue 2026-02-22 18:34:30 -05:00
yindo changed title from [PR #1811] Add `winston` logging for production to [PR #1811] [MERGED] Add `winston` logging for production 2026-06-05 15:15:13 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#3789