Skip to content

Re-implement session loggingΒ #56

Description

@Koloss0

πŸ—’οΈ Task Description

Summary
The old version of SOTI (before Urwid) used to support session logging. This meant that each time the program was run, a new YAML file would be created that stores a history of all the commands sent to and from the CAN bus. This functionality was removed during the Urwid refactor so this issue is about re-implementing it.

Details
Session logging should begin once the user selects an input device and the main screen is booted up. Implement this in a way that doesn't complicate the core logic too much.

βœ… Completion Criteria

  • Sent and received messages can be seen in session log files under /save-data/sessions/
  • The format is similar to the old implementation. Mild re-touching is permitted if you have ideas!

πŸ“‚ Affected Components

🚧 Notes / Reference

  • Please refer to the old implementation of the session logger to get an idea of how it should work (see here). You should run it and see the format of the YAML files that get generated.

Activity

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions