mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 10:45:21 +03:00
black...
This commit is contained in:
parent
b42cf37d92
commit
bcef94de4a
@ -1611,7 +1611,9 @@ def logs(service: str):
|
||||
log_locations = {
|
||||
"frigate": "/dev/shm/logs/frigate/current",
|
||||
"go2rtc": "/dev/shm/logs/go2rtc/current",
|
||||
"nginx": "/dev/shm/logs/nginx/error_log" if current_app.frigate_config.logger.default in ["warning", "error", "critical"] else "/dev/shm/logs/nginx/access_log",
|
||||
"nginx": "/dev/shm/logs/nginx/error_log"
|
||||
if current_app.frigate_config.logger.default in ["warning", "error", "critical"]
|
||||
else "/dev/shm/logs/nginx/access_log",
|
||||
}
|
||||
service_location = log_locations.get(service)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user