nick42d/youtui

youtui: Improve logging

Opened this issue · 3 comments

  1. Failed Json queries should save the full output to disk - with some consideration for usage of disk space - perhaps should be a max number of jsons that can be written per day.
  2. Standard app logs should also save to disk
  3. It would be nice to be able to copy and paste from tui logger.

Will assist with issues like #128

Implemented #2 in --debug mode in #151.

target to close. Copy/paste from TUI Logger would be much more challenging.

  • Implement logging of JSON errors - should have a max files cap
  • Add a max files cap to debug logging also
  • Turn on non-debug level logging by default, with error handling if can't find a directory.