Skip to content

refactor(logging): replace emoji logging with structured logging#215

Open
fuleinist wants to merge 3 commits intoAgent-Field:mainfrom
fuleinist:feature/114-structured-logging
Open

refactor(logging): replace emoji logging with structured logging#215
fuleinist wants to merge 3 commits intoAgent-Field:mainfrom
fuleinist:feature/114-structured-logging

Conversation

@fuleinist
Copy link

Summary

Replace emoji-based debug logging with proper zerolog structured logging.

Changes

  • Removed emoji characters from log messages
  • Used structured fields: Str(), Int(), Err()
  • Updated memory.go and utils.go

Related Issue

Closes #114

fuleinist added 3 commits March 4, 2026 10:38
- Create shared errors.go with ErrorResponse struct and Respond* helper functions
- Update memory.go, vector_memory.go, and ui/config.go to use shared helpers
- Remove duplicate ErrorResponse struct definitions

Closes Agent-Field#119
Add comprehensive documentation to all 70+ interface methods explaining:
- What each method does
- Parameters and expected values
- Return values and possible errors
- Important behavior notes

Closes Agent-Field#110
Replace emoji-based debug logging with proper zerolog structured logging:
- Use Str(), Int(), Err() for structured fields
- Remove all emoji characters from log messages
- Keep appropriate log levels (Debug, Info, Error, Warn)

Affected files:
- memory.go: Remove 18 emoji debug statements
- utils.go: Remove emoji debug statements from marshalDataWithLogging

Closes Agent-Field#114
@fuleinist fuleinist requested review from a team and AbirAbbas as code owners March 4, 2026 07:05
@CLAassistant
Copy link

CLAassistant commented Mar 4, 2026

CLA assistant check
All committers have signed the CLA.

@santoshkumarradha
Copy link
Member

Hey @fuleinist, while @AbirAbbas is reviewing the PR, could you please sign the CLA as well? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Control Plane] Replace emoji logging with structured logging

3 participants