Hi,
I saw some settings in the Options:Log parameters, but is there any way to delete the logs without going to the database?
PacoLM
How to delete the logs?
How to delete the logs?
After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
-
- Posts: 51
- Joined: Tue Oct 11, 2011 10:15 pm
Re: How to delete the logs?
zmaudit is suppose to do some cleanup. I believe there is information in the wiki about it....search for that as its what does the cleanup for logging and such.
Re: How to delete the logs?
i had 170GB of log (images) files and after deleting ALL logs via ZM web interface, it delets 90GB only. And other 80GB files are stay keeping. I try restart ZM - no results, i've update ZM from 1.24.4 to 1.25.0 - no results too. ZM web interface show me 0 events.dogmeat206 wrote:zmaudit is suppose to do some cleanup.
I try run zmaudit.pl -r, this show nothing
How to delete remains log files? Any ideas?
thanks
-
- Posts: 678
- Joined: Wed Dec 16, 2009 4:32 pm
- Location: Israel
Re: How to delete the logs?
Deleting data from MySQL tables does not always free up disk space immediately. To reclaim the freed up disk space, run this:
mastertheknife
Code: Select all
OPTIMIZE TABLE `Logs`
Kfir Itzhak.
Re: How to delete the logs?
[quote="mastertheknife"]Deleting data from MySQL tables does not always free up disk space immediately. To reclaim the freed up disk space, run this:
Is it delete DB data only, or images of the events on file system too?
Code: Select all
OPTIMIZE TABLE `Logs`
Re: How to delete the logs?
I was asking about deleting the logs shown in the new Log option, with the application status and warnings, not the events or images.
After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...