Community discussions

MikroTik App
 
-headstrong-
Member
Member
Topic Author
Posts: 377
Joined: Thu Jun 05, 2008 8:04 pm
Location: South Africa

removing 144k logs quicky?

Thu Aug 27, 2009 1:26 am

Hi Guys

I've got 140000+ logs and I want to delete them all, so is there a quick way of doing it? Its running on an RB433, ROS 3.20

Thanks
 
yancho
Member Candidate
Member Candidate
Posts: 207
Joined: Tue Jun 01, 2004 3:04 pm
Location: LV

Re: removing 144k logs quicky?

Thu Aug 27, 2009 2:13 am

Change lines to 0 at system->logging->actions
 
-headstrong-
Member
Member
Topic Author
Posts: 377
Joined: Thu Jun 05, 2008 8:04 pm
Location: South Africa

Re: removing 144k logs quicky?

Thu Aug 27, 2009 2:36 am

Sorry I was slightly unclear, I was reffering to usermanager logs...
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26820
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: removing 144k logs quicky?

Thu Aug 27, 2009 10:00 am

don't do it yet, next version will have better logging clear function. this version will make a backup of the logs, so you will not save any space :) this is fixed in next version
 
-headstrong-
Member
Member
Topic Author
Posts: 377
Joined: Thu Jun 05, 2008 8:04 pm
Location: South Africa

Re: removing 144k logs quicky?

Thu Aug 27, 2009 12:53 pm

Thanks normis, round about when will it be released?
 
User avatar
bax
Member Candidate
Member Candidate
Posts: 268
Joined: Mon Dec 20, 2004 8:45 pm
Location: Croatia

Re: removing 144k logs quicky?

Thu Aug 27, 2009 9:14 pm

For me this work ... put in terminal and wait ...
/tool user-manager log remove [find]
 
-headstrong-
Member
Member
Topic Author
Posts: 377
Joined: Thu Jun 05, 2008 8:04 pm
Location: South Africa

Re: removing 144k logs quicky?

Thu Aug 27, 2009 9:32 pm

does that free up HDD space?
 
User avatar
bax
Member Candidate
Member Candidate
Posts: 268
Joined: Mon Dec 20, 2004 8:45 pm
Location: Croatia

Re: removing 144k logs quicky?

Thu Aug 27, 2009 9:51 pm

Yes, and also after that try this :
/tool user-manager database rebuild
 
-headstrong-
Member
Member
Topic Author
Posts: 377
Joined: Thu Jun 05, 2008 8:04 pm
Location: South Africa

Re: removing 144k logs quicky?

Thu Aug 27, 2009 10:37 pm

cool thanks...what does DB rebuild do? I dnt want to loose all my account details :D
 
User avatar
bax
Member Candidate
Member Candidate
Posts: 268
Joined: Mon Dec 20, 2004 8:45 pm
Location: Croatia

Re: removing 144k logs quicky?

Thu Aug 27, 2009 10:45 pm

No details is not lost ... it wil be only smaller
 
-headstrong-
Member
Member
Topic Author
Posts: 377
Joined: Thu Jun 05, 2008 8:04 pm
Location: South Africa

Re: removing 144k logs quicky?

Fri Aug 28, 2009 1:07 am

worked like a charm, thanks

Who is online

Users browsing this forum: No registered users and 4 guests