Sunshine icon indicating copy to clipboard operation
Sunshine copied to clipboard

Logs inside the WebUI

Open TheElixZammuto opened this issue 1 year ago • 1 comments

Description

Description Logs are now stored inside the filesystem other than the stdout. This allows the WebUI to fetch and display the logs inside the "troubleshooting" section. This is especially useful on Windows when Sunshine runs as a Service (which is the default option now)

This needs some more testing on Linux platforms

Screenshot

web-ui-logs

Issues Fixed or Closed

N/A

Type of Change

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [ ] Dependency update (updates to dependencies)
  • [ ] Documentation update (changes to documentation)
  • [ ] Repository update (changes to repository files, e.g. .github/...)

Checklist

  • [x] My code follows the style guidelines of this project
  • [x] I have performed a self-review of my own code
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have added or updated the in code docstring/documentation-blocks for new or existing methods/components

Branch Updates

LizardByte requires that branches be up-to-date before merging. This means that after any PR is merged, this branch must be updated before it can be merged. You must also Allow edits from maintainers.

  • [x] I want maintainers to keep my branch updated

TheElixZammuto avatar Dec 27 '22 11:12 TheElixZammuto

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Dec 27 '22 11:12 CLAassistant

Additionally, can you update the docs?

At the bottom of docs/source/about/advanced_usage.rst can you add?

log_path
^^^^^^^^

**Description**
   The path where the sunshine log is stored.

**Default**
   ``sunshine.log``

**Example**
   .. code-block:: text

      log_path = sunshine.log

ReenigneArcher avatar Dec 30 '22 15:12 ReenigneArcher