Clean up go2rtc logs to not show color text unicode (#5027)

* Use color logs for go2rtc

* Update docs to show need for formatted logs

* Fix log selector
This commit is contained in:
Nicolas Mowen 2023-01-11 16:21:13 -07:00 committed by GitHub
parent acd1fb9e3e
commit 1643b4d108
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,6 @@
log:
format: text
webrtc:
listen: ":8555"
candidates:

View File

@ -24,6 +24,9 @@ webRTC works by creating a websocket connection on extra ports. One of the follo
* For local webRTC, you will need to create your own go2rtc config:
```yaml
log:
format: text
webrtc:
listen: ":8555"
candidates:

View File

@ -38,7 +38,7 @@ export default function Logs() {
<div className="space-y-4 p-2 px-4">
<Heading>Logs</Heading>
<ButtonsTabbed viewModes={['frigate', 'go2rtc', 'nginx']} setViewMode={setLogService} />
<ButtonsTabbed viewModes={['frigate', 'go2rtc', 'nginx']} currentViewMode={logService} setViewMode={setLogService} />
<Button className="" onClick={handleCopyLogs}>
Copy to Clipboard