Ever growing system log

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
stevewrightnz1
Posts: 55
Joined: Mon Jun 08, 2015 9:57 am
Location: New Zealand
Contact:

Ever growing system log

Post by stevewrightnz1 »

Hi guy's

My system log file now has upward of 1.2 million lines in it.

Any Ideas on how to make this smaller so that it doesn't take forever to load?

Ta
Steve
User avatar
kitkat
Posts: 193
Joined: Sun Jan 27, 2019 5:17 pm

Re: Ever growing system log

Post by kitkat »

Options => Logging => LOG_DATABASE_LIMIT

Perhaps also change LOG_LEVEL_DATABASE to Warning or Error.
parky
Posts: 45
Joined: Sun Aug 28, 2011 8:41 am

Re: Ever growing system log

Post by parky »

I had the same issue

The numbers were so large I couldn't even open the log to see what was going on. I reduced the days down to 1 day and it was just streaming INF events which showed it had no major issues. I did those modifications and changed the logging to Warning. Now down to 200 over 7 days

The remaining logs just the line 1902 which a post on here says don't worry about

Edit : I also ran zmaudit.pl to tidy things up and turned on zmaudit as the tin is able to cope with the extra load
Post Reply