Skip to content

Basic Logging Functionality #8

@terryso

Description

@terryso

Goal

Add optional simple logging functionality for debugging and usage tracking.

Description

Implement basic logging that can be enabled via environment variable:

  • Record usage history and recovery times
  • Help with debugging issues
  • Automatic log rotation to prevent oversized files
  • Optional and non-intrusive

Implementation

  • Enable/disable via environment variable
  • Simple text-based log format
  • Log rotation mechanism
  • Configurable log file location

Acceptance Criteria

  • Add optional logging via CLAUDE_AUTO_RESUME_LOG_FILE
  • Log usage sessions and recovery times
  • Implement log rotation (size-based)
  • Include timestamp and session info
  • Add debug-level logging option
  • Ensure logging doesn't impact performance
  • Document logging format and options

Priority: Medium

Effort: 1 day

Phase: 2 - Feature Extensions

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions