fix(logging): complete logging system gaps across SDK, server, CLI, a… - #952
Merged
lightzt99 merged 1 commit intoJun 1, 2026
Merged
Conversation
…nd MCP - Use module-level logger instead of root logger in 6 LLM integration modules - Add exc_info=True to ~100 logger.error() calls in agent layer except blocks - Attach TraceContextFilter to server and uvicorn loggers for request tracing - Replace plain FileHandler with CompressingRotatingFileHandler in audit logger - Make server log rotation configurable via POWERMEM_SERVER_LOG_MAX_SIZE env var - Add JSON logging mode (LOGGING_FORMAT=json) to SDK via JsonLogFormatter - Share single file handler across uvicorn loggers to prevent rotation races - Replace traceback.print_exc() with logger.exception() in CLI commands - Export all fields from LoggingSettings.to_config() and AuditSettings.to_config() - Add module logger to MCP server
Collaborator
|
LGTM |
ShiXing321
pushed a commit
to ShiXing321/powermem
that referenced
this pull request
Jul 15, 2026
Co-authored-by: hnwyllmm <hnwyllmm@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…nd MCP