Skip to content

Conversation

@kamwoods
Copy link
Owner

Core logging updates:

  • Added logging dependencies to Cargo.toml
  • Initialize logging prior to GUI start in gui_main.rs
  • New module with initialization and cleanup logic (logging.rs)
  • Logs located in ~/.splendir/logs, daily rotation
    Current log at ~/.splendir/logs/splendir.log
    Rotated logs at ~/.splendir/logs/splendir.log.YYYY-MM-DD
  • Logs older than 30 days removed on startup
  • Structured format for timestamps, log levels, and file/line numbers
  • Added logging to scanner ops, handling permissions errors, read failure errors
  • New dependencies: tracing, tracing-subscriber, tracing-appender, dirs

Interface update:

  • Added a "Show Logs" button to bottom row
  • Added workflow-specific logging items to Directory Analysis output view (permissions-related errors)

automatic log rotation and retention management.
- Added logging dependencies to Cargo.toml
- Initialize logging prior to GUI start in gui_main.rs
- New module with initialization and cleanup logic (logging.rs)
- Logs located in ~/.splendir/logs, daily rotation
  Current log at ~/.splendir/logs/splendir.log
  Rotated logs at ~/.splendir/logs/splendir.log.YYYY-MM-DD
- Logs older than 30 days removed on startup
- Structured format for timestamps, log levels, and file/line numbers
- Added logging to scanner ops, handling permissions errors, read failure errors
- New dependencies: tracing, tracing-subscriber, tracing-appender, dirs
- Open a a file manager window to provide user access to logs
  in defined location
- Replicate log errors, limiting to directories and files where permissions
  errors are explicitly reported
@kamwoods kamwoods merged commit 8078ee4 into main Dec 16, 2025
3 checks passed
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.

2 participants