Before restarting the docker container, I could see these logs:
[DEBUG] 2025年09月18日_14:33:01 recdb: 24.8% disk usage
[DEBUG] 2025年09月18日_14:23:01 recdb: 24.7% disk usage
[DEBUG] 2025年09月18日_14:13:01 recdb: 24.6% disk usage
[DEBUG] 2025年09月18日_14:03:00 recdb: 24.4% disk usage
[DEBUG] 2025年09月18日_13:53:00 recdb: 24.3% disk usage
after restart (docker compose restart) at 14:37, the timestamps jump from 13:53 to 14:37
[INFO] 2025年09月18日_14:37:48 monitor: Alleyway: starting
[INFO] 2025年09月18日_14:37:48 app: Serving app on port 2020
[DEBUG] 2025年09月18日_14:37:48 app: TZ=Europe/London
[INFO] 2025年09月18日_14:37:46 app: loading plugin motion
[INFO] 2025年09月18日_14:37:46 app: loading plugin auth_none
(jumps here)
[DEBUG] 2025年09月18日_13:53:00 recdb: 24.3% disk usage
[DEBUG] 2025年09月18日_13:52:11 motion: Front: detection: zone:0 score:3.01
[DEBUG] 2025年09月18日_13:52:03 motion: Front: detection: zone:0 score:3.00
[DEBUG] 2025年09月18日_13:51:55 motion: Front: detection: zone:0 score:3.07
and those logs above are no longer shown
files:
# ls -lh /mnt/video/sentryshot/logs/
total 91K
-rwxrwx--- 1 root 1001 79K Sep 17 10:11 17580.data
-rwxrwx--- 1 root 1001 98K Sep 17 10:11 17580.msg
-rwxrwx--- 1 root 1001 119K Sep 18 13:53 17581.data
-rwxrwx--- 1 root 1001 77K Sep 18 13:53 17581.msg
-rwxrwx--- 1 root 1001 1 Sep 18 13:53 17582.data
-rwxrwx--- 1 root 1001 0 Sep 18 13:53 17582.msg
looks like 13:53 is the last time it flushed the logs to disk?
Before restarting the docker container, I could see these logs:
```
[DEBUG] 2025年09月18日_14:33:01 recdb: 24.8% disk usage
[DEBUG] 2025年09月18日_14:23:01 recdb: 24.7% disk usage
[DEBUG] 2025年09月18日_14:13:01 recdb: 24.6% disk usage
[DEBUG] 2025年09月18日_14:03:00 recdb: 24.4% disk usage
[DEBUG] 2025年09月18日_13:53:00 recdb: 24.3% disk usage
```
after restart (`docker compose restart`) at 14:37, the timestamps jump from 13:53 to 14:37
```
[INFO] 2025年09月18日_14:37:48 monitor: Alleyway: starting
[INFO] 2025年09月18日_14:37:48 app: Serving app on port 2020
[DEBUG] 2025年09月18日_14:37:48 app: TZ=Europe/London
[INFO] 2025年09月18日_14:37:46 app: loading plugin motion
[INFO] 2025年09月18日_14:37:46 app: loading plugin auth_none
(jumps here)
[DEBUG] 2025年09月18日_13:53:00 recdb: 24.3% disk usage
[DEBUG] 2025年09月18日_13:52:11 motion: Front: detection: zone:0 score:3.01
[DEBUG] 2025年09月18日_13:52:03 motion: Front: detection: zone:0 score:3.00
[DEBUG] 2025年09月18日_13:51:55 motion: Front: detection: zone:0 score:3.07
```
and those logs above are no longer shown
files:
```
# ls -lh /mnt/video/sentryshot/logs/
total 91K
-rwxrwx--- 1 root 1001 79K Sep 17 10:11 17580.data
-rwxrwx--- 1 root 1001 98K Sep 17 10:11 17580.msg
-rwxrwx--- 1 root 1001 119K Sep 18 13:53 17581.data
-rwxrwx--- 1 root 1001 77K Sep 18 13:53 17581.msg
-rwxrwx--- 1 root 1001 1 Sep 18 13:53 17582.data
-rwxrwx--- 1 root 1001 0 Sep 18 13:53 17582.msg
```
looks like 13:53 is the last time it flushed the logs to disk?