Logs in UI (#4562)

* Log all services to RAM

* Gracefully handle shutdown

* Add logs route

* Remove tail

* Return logs for services

* Display log chooser with copy button

* show logs for specific services

* Clean up settings logs

* Add copy functionality to logs

* Add copy functionality to logs

* Fix merge

* Set archive count to 0

Co-authored-by: Felipe Santos <felipecassiors@gmail.com>
This commit is contained in:
Nicolas Mowen
2022-12-08 19:15:00 -07:00
committed by GitHub
parent 4f79ca1bf0
commit 964bcc0733
6 changed files with 81 additions and 2 deletions

View File

@@ -48,6 +48,7 @@ export default function Sidebar() {
<Destination href="/storage" text="Storage" />
<Destination href="/system" text="System" />
<Destination href="/config" text="Config" />
<Destination href="/logs" text="Logs" />
<Separator />
<div className="flex flex-grow" />
{ENV !== 'production' ? (