[GH-ISSUE #798] [Feature]: Add a prompt and connection focused logging preset #389

Closed
opened 2026-10-20 17:28:18 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @cha1latte on GitHub (May 13, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/798

Originally assigned to: @SpicyMarinara on GitHub.

What problem does this solve?

Users trying to troubleshoot prompt and outside-connection behavior have to enable debug logging, but the resulting logs include many level 30 entries and repeated API/self-check noise that drown out the level 20 entries they are looking for.

Proposed solution

Add a log level, logging preset, or toggle that surfaces prompts and outside connections without the noisy level 30 entries, especially the ME extensions, chats, and themes API checks.

Alternatives considered

Users could write a script to filter logs, or developers comfortable changing code can set disableRequestLogging: true in Fastify, but users would prefer an app-supported toggle/preset.

Additional context

Source: Discord request from Era, with agreement from Kat and workaround context from jasonwocky, in thread https://discord.com/channels/1417099416812392641/1503839739155841174

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @cha1latte on GitHub (May 13, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/798 Originally assigned to: @SpicyMarinara on GitHub. ## What problem does this solve? Users trying to troubleshoot prompt and outside-connection behavior have to enable debug logging, but the resulting logs include many level 30 entries and repeated API/self-check noise that drown out the level 20 entries they are looking for. ## Proposed solution Add a log level, logging preset, or toggle that surfaces prompts and outside connections without the noisy level 30 entries, especially the ME extensions, chats, and themes API checks. ## Alternatives considered Users could write a script to filter logs, or developers comfortable changing code can set `disableRequestLogging: true` in Fastify, but users would prefer an app-supported toggle/preset. ## Additional context Source: Discord request from Era, with agreement from Kat and workaround context from jasonwocky, in thread https://discord.com/channels/1417099416812392641/1503839739155841174 ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
Author
Owner

@cha1latte commented on GitHub (May 13, 2026):

Triage note: labeling this as normal-scope because it is a focused troubleshooting improvement around existing logging behavior and a clearly identified source of noise.

Keep this in the normal enhancement backlog; a first slice could be a request-logging toggle or preset that preserves prompt/connection diagnostics.

<!-- gh-comment-id:4443993713 --> @cha1latte commented on GitHub (May 13, 2026): Triage note: labeling this as `normal-scope` because it is a focused troubleshooting improvement around existing logging behavior and a clearly identified source of noise. Keep this in the normal enhancement backlog; a first slice could be a request-logging toggle or preset that preserves prompt/connection diagnostics.
Author
Owner

@SpicyMarinara commented on GitHub (May 17, 2026):

Ok.

<!-- gh-comment-id:4470050902 --> @SpicyMarinara commented on GitHub (May 17, 2026): Ok.
Author
Owner

@SpicyMarinara commented on GitHub (May 17, 2026):

Fixed on staging in 13bf9e5f. Added LOG_PRESET=prompt-connections for prompt/model/connection debug diagnostics without routine Fastify request-log noise, plus LOG_DISABLE_REQUEST_LOGGING for the standalone request-log toggle, with docs and changelog updates.

<!-- gh-comment-id:4470261247 --> @SpicyMarinara commented on GitHub (May 17, 2026): Fixed on staging in 13bf9e5f. Added LOG_PRESET=prompt-connections for prompt/model/connection debug diagnostics without routine Fastify request-log noise, plus LOG_DISABLE_REQUEST_LOGGING for the standalone request-log toggle, with docs and changelog updates.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#389
No description provided.