show logs for specific services

This commit is contained in:
Nick Mowen 2022-12-05 11:30:38 -07:00
parent 5eed08016d
commit 0003a2060b

View File

@ -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