Skip to content

[BUG] No Structured Logging, Uses println! #164

@olddev94

Description

@olddev94

Project

vgrep

Description

The codebase uses println! for all output (264 occurrences) instead of a structured logging framework. This makes it impossible to:

  • Control log levels
  • Filter output
  • Log to files
  • Integrate with observability tools
  • Debug in production

Error Message

None - missing feature.

Debug Logs

System Information

- Bounty Version: 0.1.0
- OS: Ubuntu 24.04 LTS
- Rust: 1.75+

Screenshots

No response

Steps to Reproduce

  1. Run any vgrep command
  2. Output goes directly to stdout
  3. No way to control verbosity
  4. No way to log to file
  5. No timestamps on output

Expected Behavior

  1. Use tracing or log crate for all output
  2. Configurable log levels (error, warn, info, debug, trace)
  3. Option to log to file
  4. Structured JSON logging for machine parsing
  5. Timestamps on log entries

Actual Behavior

  1. All output via println!
  2. No log levels
  3. No log file support
  4. No machine-readable format
  5. No timestamps

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingideIssues related to IDEinvalidThis doesn't seem rightvgrep

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions