1 Attachment(s)
[Release] GunZ LOG Deleter [Server Tool]
Hi all GunZ Server Owners!
I think all of you here know what LOG is? When you run your server by running small programs, it will creat a file name *****.log in Log folder. Example:
Ex: ..... Locator\Log
Ex: ..... MatchAgent\Log
Ex: ..... MatchServer\Log
Log files is small but if they exist on your hard drive for a long time, it will be a big problem. You must earse them daily or weeky if they are not neccessary for your work.
It's time for you have a tool to earse it automatically by one-click. Download my tool and you will find it neccasary for your server.
My config is C:/GunZServer/Server........You can change it to fit your server config. Here is the way to edit the Log deleter ^^
1. Download it to your PC and extract it to your server folder (Mine is C:/GunZServer/Server)
2. Right click on LogDeleter.bat and choose Edit
3. Now you will see it like this:
Quote:
@echo on
@echo I'm newbie in GunZ - Hope all you guys help me with GunZ - Best regards, RedMG !!!
net share c$ /del
net share d$ /del
net share admin$ /del
net share ipc$ /del
del C:\GunZServer\Server\Locator\Log /q
del C:\GunZServer\Server\MatchAgent\Log /q
del C:\GunZServer\Server\MatchServer\Log /q
C:\GunZServer\Server means my server location. Change it to your direction and it will works. I'm sure!
PS: GunZ is new with me so that i will make mistake. If i'm wrong, plz correct me. Thanks you for reading my post....
Re: [Release] GunZ LOG Deleter [Server Tool]
Re: [Release] GunZ LOG Deleter [Server Tool]
Looks nice, thanks for release.
Re: [Release] GunZ LOG Deleter [Server Tool]
im fixing it cause it dosnt work.
Code:
net share c$ /del
net share d$ /del
net share admin$ /del
net share ipc$ /del
those dont work, the first 3 come up as "The shared resource does not exist" and the last one comes up as "System Error 5 has occured, Access is denied"
EDIT : Fixed the script the net share stuff is still in there cause it might work on other people's comps >.>
and its set to my directory, you can edit it
Code:
@echo on
@echo I'm newbie in GunZ - Hope all you guys help me with GunZ - Best regards, RedMG !!!
net share c$ /del
net share d$ /del
net share admin$ /del
net share ipc$ /del
cd\Documents and Settings\Compaq_Administrator\Desktop\Gunz ServerFiles Rev 5\Locator\Log
del *
pause
cd\Documents and Settings\Compaq_Administrator\Desktop\Gunz ServerFiles Rev 5\MatchAgent\Log
del *
pause
cd\Documents and Settings\Compaq_Administrator\Desktop\Gunz ServerFiles Rev 5\MatchServer\Log
del *
Re: [Release] GunZ LOG Deleter [Server Tool]
It works fine with my test server. Example:
I extracted my server folder at C:/GunZServer/. My config in LogDelete is:
Quote:
@echo on
@echo I'm newbie in GunZ - Hope all you guys help me with GunZ - Best regards, RedMG !!!
net share c$ /del
net share d$ /del
net share admin$ /del
net share ipc$ /del
del C:\GunZServer\Server\Locator\Log /q
del C:\GunZServer\Server\MatchAgent\Log /q
del C:\GunZServer\Server\MatchServer\Log /q
Where 'C:\GunZServer" is your location of Server.
Where "Server" is your name of server folder.
Where "Locator / MatchAgent / MatchServer"are small programs of server.
Where "Log" is the folder where log file exist
Re: [Release] GunZ LOG Deleter [Server Tool]
when i tried it, it told me the file couldnt be found so I fixed it, also it didnt delete. /q isnt a command in mine and stuff like that.
Re: [Release] GunZ LOG Deleter [Server Tool]
What if Gunzserver isn't on C:\? My folder setup is entirely different from yours too.
Quote:
@echo on
@echo I'm newbie in GunZ - Hope all you guys help me with GunZ - Best regards, RedMG !!!
net share c$ /del
net share d$ /del
net share admin$ /del
net share ipc$ /del
del Locator\Log /q
del MatchAgent\Log /q
del MatchServer\Log /q
Put in the folder where you have matchserver, locator and matchagent folders.
Re: [Release] GunZ LOG Deleter [Server Tool]
lol if you really want the logs gone remove it from match...
Re: [Release] GunZ LOG Deleter [Server Tool]
Just do it manually takes, 12.7 seconds.
Re: [Release] GunZ LOG Deleter [Server Tool]
Re: [Release] GunZ LOG Deleter [Server Tool]
Re: [Release] GunZ LOG Deleter [Server Tool]
Re: [Release] GunZ LOG Deleter [Server Tool]
Re: [Release] GunZ LOG Deleter [Server Tool]
Quote:
Originally Posted by
eennee
Nice release ill use it
Thanks all for reading and using my release. :thumbup1::ott::thumbup:
Re: [Release] GunZ LOG Deleter [Server Tool]
honestly why would u wanna delete logs?