mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 17:55:21 +03:00
show logs for specific services
This commit is contained in:
parent
5eed08016d
commit
0003a2060b
@ -18,8 +18,8 @@ export default function Logs() {
|
|||||||
|
|
||||||
<ButtonsTabbed viewModes={['frigate', 'go2rtc', 'nginx']} setViewMode={setLogService} />
|
<ButtonsTabbed viewModes={['frigate', 'go2rtc', 'nginx']} setViewMode={setLogService} />
|
||||||
|
|
||||||
<div className='overflow-auto font-mono text-gray-900 dark:text-gray-100 rounded bg-gray-100 dark:bg-gray-800 p-2 whitespace-pre-wrap'>
|
<div className='overflow-auto font-mono text-sm text-gray-900 dark:text-gray-100 rounded bg-gray-100 dark:bg-gray-800 p-2 whitespace-pre-wrap'>
|
||||||
{frigateLogs}
|
{logService == 'frigate' ? frigateLogs : (logService == 'go2rtc' ? go2rtcLogs : nginxLogs)}
|
||||||
</div>
|
</div>
|
||||||
<Button className="">
|
<Button className="">
|
||||||
Copy to Clipboard
|
Copy to Clipboard
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user