mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 09:45:22 +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} />
|
||||
|
||||
<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'>
|
||||
{frigateLogs}
|
||||
<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'>
|
||||
{logService == 'frigate' ? frigateLogs : (logService == 'go2rtc' ? go2rtcLogs : nginxLogs)}
|
||||
</div>
|
||||
<Button className="">
|
||||
Copy to Clipboard
|
||||
|
||||
Loading…
Reference in New Issue
Block a user