View Full Version : Administrative and Maintenance Tools - ZH - Clean Log
This modification was brought to you by
KXDesign
http://www.kxdesign.com/
~Hack name
Clean Log
~Hack description
This hack allows your to prune all entries from cron log,mod log and admin log.As I am the only admin on my site I don't really need this info.It just takes too much space in my database and I don't like clicking it all the time.With this hack I only have to click one button and boom!All entries are gone ;)
Works with log logins hack by Abe1
~Hack options
None
~Hack info
File uploads: 1
File edits: 0
Templates: 0
Template edits: 0
Plugins: 1
SQL Queries: 0
Phrases: 2
Settings: 0
Hooks: 0
Install time: 3 sec
Install level: Easy
~Hack installation
Step 1: Import Product
Step 2: Upload zh_cleanlog.php to your ./includes/cron/ directory
~Hack screenshots
None
~Hack copyright
This may not be distributed,released or claimed as your work without author's permission.
TheBlackPoet
01-31-2007, 10:11 PM
in installed and pruned 41,00+ entries.... bye-bye..... thanks....
Yes I guess I should also include a count :) thanks will add in a few mins
Genjuro-Sensei
01-31-2007, 10:18 PM
Thx, will install right after the count version is out ;)
1.0.1 released
Counting added :)
FleaBag
02-01-2007, 01:14 AM
Where do I find it in the ACP?
Tulsa
02-01-2007, 02:13 AM
It's hiding under maintenance > update counters, last item.
da420
02-01-2007, 02:52 AM
Awesome, 42,400 something entries cleared. Thanks Ziki...
rinkrat
02-01-2007, 04:03 AM
Deleting 282161 entries from log....
Done
Thanks
roger.kore
02-01-2007, 05:47 AM
Very nice, thanks a lot.
As suggestion, integrate it with logLogins hacks? To clean it too ;D
Lizard King
02-01-2007, 06:01 AM
Nice job :)
bashy
02-01-2007, 08:49 AM
Installed thanks, I have like 4500+ entries in the log logins hack, would be great if you can included in this please?
soulface
02-01-2007, 10:14 AM
Deleting 97566 entries from log...
LOL. 3yrs of logs
/me installed
Very nice, thanks a lot.
As suggestion, integrate it with logLogins hacks? To clean it too ;D
will be added
projectego
02-01-2007, 12:27 PM
Awesome! Nice work, Ziki. :)
bashy
02-01-2007, 04:46 PM
will be added
Thanks Ziki, Look forward to the update :)
Lol I didn't know this would become such hit :p
da420
02-01-2007, 05:44 PM
It's very usable... Ziki is the king of simple, yet great usable mods.
pauloo
02-25-2007, 08:12 AM
Nice thank you !
Keyser S?ze
02-25-2007, 01:23 PM
Deleting 103285 entries from log...
WOW thanks for the mod
1.0.2 released
Works now with log logins hack as requested :)
projectego
03-13-2007, 05:20 PM
Thanks for the update, Ziki! ;)
ZH - Clean Log
Fatal error: Call to a member function on a non-object in /home/xxxxxxxx/public_html/foros/includes/cron/zh_cleanlog.php on line 9
:(
What vb version?
vb 3.6.5 :(
Did you reupload the new version?
Dismounted
03-22-2007, 06:29 AM
ZH - Clean Log
Fatal error: Call to a member function on a non-object in /home/xxxxxxxx/public_html/foros/includes/cron/zh_cleanlog.php on line 9
:(
In zh_cleanlog.php, find all instances of:
$db->
Replace With:
$vbulletin->db->
Try that :p.
Nice Men Thanks
ZH - Clean Log
Deleting 18267 entries from log...
Done cleaning log
Done
Those who had cron problems please reupload the zh_cleanlog.php
projectego
03-23-2007, 12:05 PM
Thanks for the 1.0.2 update, Ziki. :)
bluechris
03-23-2007, 01:33 PM
I updated to the latest version and my box crashed totally for some reason... i did the upgrade in the mod as normal, replaced the .php file and update the product.
The crashed occured when i runned the schedulle manually.
In the logs that i received just before the hung of the server i saw that forum lost connectivity to mysql totally. This huppened immediatly when i runned the schedulle task, so after the rst i disabled the plugin and atm i dont dare to run it.... cause that never huppend again in that server.
Anyone else have seen this kind of behavior?
I updated to the latest version and my box crashed totally for some reason... i did the upgrade in the mod as normal, replaced the .php file and update the product.
The crashed occured when i runned the schedulle manually.
In the logs that i received just before the hung of the server i saw that forum lost connectivity to mysql totally. This huppened immediatly when i runned the schedulle task, so after the rst i disabled the plugin and atm i dont dare to run it.... cause that never huppend again in that server.
Anyone else have seen this kind of behavior?
I don't really think that is normal.
thincom2000
03-24-2007, 05:13 AM
O_O Did you have several billion log entries?
bolly.beats
03-24-2007, 07:55 AM
Deleting 34953 entries from log...
O Boy this is really cool.
bluechris
03-24-2007, 08:15 AM
Strange strange strange... what can i say... i choosed a low traffic time and i runned it again and runned fine.
ZH - Clean Log
Deleting 19231 entries from log...
Done cleaning log
I still havent figured what caused it but its ok now... sorry for the alert... maybe it was a strange coinsindence that huppened who knows.
I think the system was just overloaded.
yoyoyoyo
10-04-2007, 11:21 AM
cleaned 20729 entries and the board I ran it on is only 3 weeks old! thanks much
SuperTaz
11-05-2007, 08:05 AM
Installed....
Deleting 38956 entries from log...
Done cleaning log
lol
deezelpope
11-05-2007, 09:19 AM
Deleting 1 entries from log...
Done cleaning log
LOL!:D
Deleting 1 entries from log...
Done cleaning log
LOL!:D
Do you even use the admincp ??? :p
deezelpope
11-05-2007, 10:52 AM
Do you even use the admincp ??? :p
Sure I do! Guess that's why I'm kinda surprised there was just the one.
I'm laughing...
momo2
11-25-2007, 11:20 AM
wow thanksssssssss
so i don't have to do any more ?
TRUNCATE TABLE `adminlog`;
m2006
01-13-2008, 08:25 AM
Thanks for mod good....
show
Deleting 44463 entries from log...
Done cleaning log
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.