[PR #1724] [MERGED] [FEAT] Implement winston logger for utils, models, agents etc #3757

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

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/1724
Author: @shatfield4
Created: 6/19/2024
Status: Merged
Merged: 6/19/2024
Merged by: @shatfield4

Base: 1686-feat-implement-winston-for-loggingHead: winston-models-utils-etc


📝 Commits (3)

  • b9123c4 implement winston logger for backend endpoints
  • c34ddc3 implement winston logger for developer api
  • c44e6e1 implement winston logger for all utils/agents/etc in backend

📊 Changes

33 files changed (+343 additions, -184 deletions)

View changed files

📝 server/endpoints/api/document/index.js (+8 -7)
📝 server/endpoints/api/system/index.js (+7 -6)
📝 server/endpoints/api/userManagement/index.js (+2 -1)
📝 server/endpoints/api/workspace/index.js (+12 -9)
📝 server/endpoints/system.js (+17 -14)
📝 server/endpoints/workspaceThreads.js (+21 -8)
📝 server/endpoints/workspaces.js (+18 -13)
📝 server/index.js (+2 -1)
📝 server/models/eventLogs.js (+3 -5)
📝 server/models/telemetry.js (+5 -5)
📝 server/swagger/init.js (+2 -1)
📝 server/utils/DocumentManager/index.js (+2 -1)
📝 server/utils/agents/aibitat/example/websocket/websock-branding-collab.js (+19 -13)
📝 server/utils/agents/aibitat/example/websocket/websock-multi-turn-chat.js (+11 -5)
📝 server/utils/agents/aibitat/plugins/cli.js (+16 -12)
📝 server/utils/agents/aibitat/plugins/memory.js (+2 -1)
📝 server/utils/agents/aibitat/plugins/sql-agent/SQLConnectors/MSSQL.js (+2 -1)
📝 server/utils/agents/aibitat/plugins/sql-agent/SQLConnectors/MySQL.js (+2 -1)
📝 server/utils/agents/aibitat/plugins/sql-agent/SQLConnectors/Postgresql.js (+2 -1)
📝 server/utils/agents/aibitat/plugins/web-browsing.js (+7 -2)

...and 13 more files

📄 Description

Pull Request Type

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

Relevant Issues

resolves #xxx

What is in this change?

  • Implement winston logger and replace all console.logs for entire backend server

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/1724 **Author:** [@shatfield4](https://github.com/shatfield4) **Created:** 6/19/2024 **Status:** ✅ Merged **Merged:** 6/19/2024 **Merged by:** [@shatfield4](https://github.com/shatfield4) **Base:** `1686-feat-implement-winston-for-logging` ← **Head:** `winston-models-utils-etc` --- ### 📝 Commits (3) - [`b9123c4`](https://github.com/Mintplex-Labs/anything-llm/commit/b9123c41cd49026515817c6a7ec6cf8764abdbb5) implement winston logger for backend endpoints - [`c34ddc3`](https://github.com/Mintplex-Labs/anything-llm/commit/c34ddc35d469d338b9ca97daf4b2a6b37fa3c786) implement winston logger for developer api - [`c44e6e1`](https://github.com/Mintplex-Labs/anything-llm/commit/c44e6e168fb7280a1a73e346a92f2e1928761057) implement winston logger for all utils/agents/etc in backend ### 📊 Changes **33 files changed** (+343 additions, -184 deletions) <details> <summary>View changed files</summary> 📝 `server/endpoints/api/document/index.js` (+8 -7) 📝 `server/endpoints/api/system/index.js` (+7 -6) 📝 `server/endpoints/api/userManagement/index.js` (+2 -1) 📝 `server/endpoints/api/workspace/index.js` (+12 -9) 📝 `server/endpoints/system.js` (+17 -14) 📝 `server/endpoints/workspaceThreads.js` (+21 -8) 📝 `server/endpoints/workspaces.js` (+18 -13) 📝 `server/index.js` (+2 -1) 📝 `server/models/eventLogs.js` (+3 -5) 📝 `server/models/telemetry.js` (+5 -5) 📝 `server/swagger/init.js` (+2 -1) 📝 `server/utils/DocumentManager/index.js` (+2 -1) 📝 `server/utils/agents/aibitat/example/websocket/websock-branding-collab.js` (+19 -13) 📝 `server/utils/agents/aibitat/example/websocket/websock-multi-turn-chat.js` (+11 -5) 📝 `server/utils/agents/aibitat/plugins/cli.js` (+16 -12) 📝 `server/utils/agents/aibitat/plugins/memory.js` (+2 -1) 📝 `server/utils/agents/aibitat/plugins/sql-agent/SQLConnectors/MSSQL.js` (+2 -1) 📝 `server/utils/agents/aibitat/plugins/sql-agent/SQLConnectors/MySQL.js` (+2 -1) 📝 `server/utils/agents/aibitat/plugins/sql-agent/SQLConnectors/Postgresql.js` (+2 -1) 📝 `server/utils/agents/aibitat/plugins/web-browsing.js` (+7 -2) _...and 13 more files_ </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat - [ ] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #xxx ### What is in this change? <!-- Describe the changes in this PR that are impactful to the repo. --> - Implement winston logger and replace all console.logs for entire backend server ### 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:26 -05:00
yindo closed this issue 2026-02-22 18:34:26 -05:00
yindo changed title from [PR #1724] [FEAT] Implement winston logger for utils, models, agents etc to [PR #1724] [MERGED] [FEAT] Implement winston logger for utils, models, agents etc 2026-06-05 15:15:04 -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#3757