[Solved]Zoneminder master 1.35.9~20201003115820-focal - log delete button is missing
- bkjaya1952
- Posts: 282
- Joined: Sat Aug 25, 2018 3:24 pm
- Location: Sri Lanka
[Solved]Zoneminder master 1.35.9~20201003115820-focal - log delete button is missing
The button for deleting logs in log panel is missing in Zoneminder master 1.35.9~20201003115820-focal released today
Figure:- 1 No problem in creating monitors , emailing , uploading motion detection events
Figure:- 2 Delete Logs button is missing
I had to use the following terminal commands to delete the logs
mysql -uroot -ppassword zm
truncate table Logs;
quit
Figure:- 1 No problem in creating monitors , emailing , uploading motion detection events
Figure:- 2 Delete Logs button is missing
I had to use the following terminal commands to delete the logs
mysql -uroot -ppassword zm
truncate table Logs;
quit
Last edited by bkjaya1952 on Sun Oct 04, 2020 4:40 am, edited 1 time in total.
- knight-of-ni
- Posts: 2404
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Zoneminder master 1.35.9~20201003115820-focal - log delete button is missing
That's correct. I left that feature out. Can you describe a reason why someone would want to delete a specific number of log entries?
Note that log files are automatically purged by zmfilter, based on LOG_DATABASE_LIMIT under Options -> Logging. You can set this to either a max number for records, or specify a time limit.
Note that log files are automatically purged by zmfilter, based on LOG_DATABASE_LIMIT under Options -> Logging. You can set this to either a max number for records, or specify a time limit.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/
- knight-of-ni
- Posts: 2404
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Zoneminder master 1.35.9~20201003115820-focal - log delete button is missing
Something else I have not documented... The search bar you see will search for any text you type, in any field. If you have a need to search for text in specific fields, open the advanced search modal, by clicking the Down Chevron.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/
- bkjaya1952
- Posts: 282
- Joined: Sat Aug 25, 2018 3:24 pm
- Location: Sri Lanka
Re: Zoneminder master 1.35.9~20201003115820-focal - log delete button is missing
I was thinking about removing red color alarm at log button. .knight-of-ni wrote: ↑Sat Oct 03, 2020 6:21 pm That's correct. I left that feature out. Can you describe a reason why someone would want to delete a specific number of log entries?
Note that log files are automatically purged by zmfilter, based on LOG_DATABASE_LIMIT under Options -> Logging. You can set this to either a max number for records, or specify a time limit.
Thank you Sir . I will use LOG_DATABASE_LIMIT to delete logs.
- knight-of-ni
- Posts: 2404
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: [Solved]Zoneminder master 1.35.9~20201003115820-focal - log delete button is missing
Thanks for the feedback. I'll keep those ideas in mind.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/
- bkjaya1952
- Posts: 282
- Joined: Sat Aug 25, 2018 3:24 pm
- Location: Sri Lanka
Re: [Solved]Zoneminder master 1.35.9~20201003115820-focal - log delete button is missing
Thank you Sirknight-of-ni wrote: ↑Sun Oct 04, 2020 12:14 pm Thanks for the feedback. I'll keep those ideas in mind.
-
- Posts: 1210
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: [Solved]Zoneminder master 1.35.9~20201003115820-focal - log delete button is missing
Clear button -
because sometimes when you try to see some intermittent error, there's something else going on such that it's hard to catch what you want.
A clear button minimizes the stuff you need to visually filter, until you can use the filters to see what it is.
A thing to filter stuff *out* would be even better...
because sometimes when you try to see some intermittent error, there's something else going on such that it's hard to catch what you want.
A clear button minimizes the stuff you need to visually filter, until you can use the filters to see what it is.
A thing to filter stuff *out* would be even better...
- knight-of-ni
- Posts: 2404
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: [Solved]Zoneminder master 1.35.9~20201003115820-focal - log delete button is missing
That is precisely what the search bar is for. I've found it to be very fast too.dougmccrary wrote: ↑Tue Oct 06, 2020 6:55 am Clear button -
because sometimes when you try to see some intermittent error, there's something else going on such that it's hard to catch what you want.
A clear button minimizes the stuff you need to visually filter, until you can use the filters to see what it is.
A thing to filter stuff *out* would be even better...
So for example, you've got an intermittent error, just type part of the text in the search bar and everything gets filtered out except for events with the text you entered (in any field).
And again, if you want to filter out data in specific fields, then use the Advanced search bar to do that.
Note also the clock icon in the toolbar. Click that to stop the auto refresh. That will stop new information from flowing into the view. The squarish refresh button lets you manually refresh the data in the table via mouseclick at the moment you choose.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/
-
- Posts: 1210
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: [Solved]Zoneminder master 1.35.9~20201003115820-focal - log delete button is missing
Ah ha.
I'll try that.
thanks.
OK, very cool.
But if i want say m1, it gets m10, m11 ....can it be made to accept trailing space? or how is that done?
I'll try that.
thanks.
OK, very cool.
But if i want say m1, it gets m10, m11 ....can it be made to accept trailing space? or how is that done?
- knight-of-ni
- Posts: 2404
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: [Solved]Zoneminder master 1.35.9~20201003115820-focal - log delete button is missing
I just pushed a change to master that removes the "%" wildcards that get injected into each field in the advanced search. This should allow you to search on "m1" and not get "m10" or "m11" returned in the result. You should also be able to add the "%" wildcard manually in cases where you do want to that kind of search. Note this is for the advanced search toolbar, not the normal search toolbar.dougmccrary wrote: ↑Wed Oct 07, 2020 5:39 am Ah ha.
I'll try that.
thanks.
OK, very cool.
But if i want say m1, it gets m10, m11 ....can it be made to accept trailing space? or how is that done?
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/