mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #224] [MERGED] refactor: logging system and remove client-side debug mode #4515
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#4515
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/224
Author: @coxde
Created: 4/25/2026
Status: ✅ Merged
Merged: 4/25/2026
Merged by: @coxde
Base:
main← Head:refactor/logging📝 Commits (9)
bbd192erefactor(client): remove client-side debug modeea55663feat(server): add LOG_LEVEL=debug prompt and response logging92f259ddocs: fix LOG_LEVEL default and update descriptionsea22ac4refactor(server): add shared Pino logger modulef4ce4e7refactor(server): migrate all console.* calls to shared Pino logger33262e4docs: add logging level reference and coding practicesc5b4fd4feat(server): log thinking tokens at debug level63719e2fix(logging): Pass error objects as first arg to loggercf837c7fix(server): Use Pino format specifiers in logger calls📊 Changes
47 files changed (+891 additions, -1007 deletions)
View changed files
📝
.env.example(+2 -2)📝
CLAUDE.md(+12 -0)📝
CONTRIBUTING.md(+50 -0)📝
docker-compose.yml(+1 -1)📝
docs/CONFIGURATION.md(+48 -16)📝
docs/FRONTEND.md(+232 -233)➖
packages/client/src/components/agents/AgentDebugPanel.tsx(+0 -193)📝
packages/client/src/components/panels/SettingsPanel.tsx(+0 -8)📝
packages/client/src/hooks/use-generate.ts(+1 -118)📝
packages/client/src/stores/agent.store.ts(+0 -23)📝
packages/client/src/stores/ui.store.ts(+6 -6)📝
packages/server/src/app.ts(+5 -3)📝
packages/server/src/config/runtime-config.ts(+4 -1)📝
packages/server/src/db/connection.ts(+3 -2)📝
packages/server/src/db/seed-backgrounds.ts(+3 -2)📝
packages/server/src/db/seed-connection.ts(+3 -2)📝
packages/server/src/db/seed-game-assets.ts(+3 -2)📝
packages/server/src/db/seed-mari.ts(+3 -2)📝
packages/server/src/db/seed.ts(+2 -1)📝
packages/server/src/index.ts(+2 -1)...and 27 more files
📄 Description
This pull request focuses on improving logging practices and documentation across the project. The most significant changes include the introduction of a dedicated logger module, detailed logging guidelines for server-side code, updates to environment variable documentation to clarify logging configuration, and formatting fixes in frontend documentation tables.
Close #220
Related to #187
Summary by CodeRabbit
Configuration
Chores
Refactor
Documentation
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.