Page 1 of 1
logs and events disappearing
Posted: Sat Jul 27, 2024 6:00 pm
by aag
I've installed ZM a few days ago, and I am still getting up to speed with its features. Since today, however, I noticed that the log entries and also the events seem to be disappearing from their queue. I mean, I get only the most recent pageful of entries, and everything before that appears to be inaccessible. I don't think that anything gets deleted, also because there are 65 GBytes available on the disk. Running Ubuntu as a virtual machine on a windows host. What I am doing wrong?
Re: logs and events disappearing
Posted: Sat Jul 27, 2024 10:37 pm
by dougmccrary
Is zm seeing those 65GB according to the top display, "Storage"?
What does Log->Total: say?
Re: logs and events disappearing
Posted: Sun Jul 28, 2024 3:38 am
by aag
The web banner says:
Load: 0.62
storage DB: 8/151
Default: 73%
/dev/shm: 2%
log banner says:
State: ok - Total: 13 - Available: 13 - Displaying: 1 to 25 - Updated: 7/28/24, 5:37:44 AM GMT+2
Once the log fills the page, it wipes out everything and starts from scratch.
Re: logs and events disappearing
Posted: Mon Jul 29, 2024 8:49 am
by dougmccrary
Did you change the filters? If it was running and this just started, that's one way to break it. The only other thing comes to mind is the log settings in Options.
Re: logs and events disappearing
Posted: Mon Jul 29, 2024 8:53 am
by aag
yes, I think that it started after I changed the filters. Should it return to normal after simply sudo systemctl restart zoneminder?
Re: logs and events disappearing
Posted: Tue Jul 30, 2024 12:26 am
by dougmccrary
The filters are re-read every 5 minutes unless you changed Options->System->FILTER_RELOAD_DELAY , so a restart isn't needed.
Debug/logging does need a restart.
You'll have to change the filters back if you saved them.