How to stop server_log.txt? -
Whizion - 20.12.2010
I have my own log and i don't need this one, it just takes up valuable space on my host.
Anybody know how to stop it? Thanks.
Re: How to stop server_log.txt? -
WillyP - 20.12.2010
You can't.
Re: How to stop server_log.txt? -
X35B - 20.12.2010
Impossible, tell people to stop talking to much.
Re: How to stop server_log.txt? -
propilot - 20.12.2010
Quote:
Originally Posted by X35B
Impossible, tell people to stop talking to much.
|
or to tell the server to stop talking to much ;')
and too much space? LoL. it takes like 5mb per 10,000 lines
Re: How to stop server_log.txt? -
Hal - 20.12.2010
remove all the print() and printf() lines, they save it to the log so you may save space with them.
Re: How to stop server_log.txt? -
Scott - 20.12.2010
I believe there's something you can set in server.cfg I just don't remeber what it is named.
Re: How to stop server_log.txt? -
SuB_ZeRo0_ - 20.12.2010
Quote:
Originally Posted by Whizion
I have my own log and i don't need this one, it just takes up valuable space on my host.
Anybody know how to stop it? Thanks. 
|
You can make a .bat script to delete the file every 5 mins or more.
But you have to start the script in the host.
Re: How to stop server_log.txt? -
Retardedwolf - 21.12.2010
Quote:
Originally Posted by [FU]Victious
You can't.
|
Yes you can but not scripting wise.
Quote:
Originally Posted by X35B
Impossible, tell people to stop talking to much.
|
^
Quote:
Originally Posted by Hal
remove all the print() and printf() lines, they save it to the log so you may save space with them.
|
No, server will still send log files without print/printf.
Quote:
Originally Posted by NGScott
I believe there's something you can set in server.cfg I just don't remeber what it is named.
|
Is there?
Quote:
Originally Posted by SuB_ZeRo0_
You can make a .bat script to delete the file every 5 mins or more.
But you have to start the script in the host.
|
Hmh?
~/
This is not scripting wise but heres a way how to do it.
1 ) Remove all the stuff in server_log and save it.
2 ) Right click server_log.txt and click properties
3 ) Goto security tab.
4 ) Click Advanced, find your user and click change permissions.
5 ) Find your user, press edit
6 ) Click the first Deny and make sure all the others are ticked Deny.
7 ) OK, Apply, OK, OK, OK.
8 ) The next time you run your server no logs will be written to the file.
Re: How to stop server_log.txt? -
Hal - 21.12.2010
Quote:
Originally Posted by Retardedwolf
No, server will still send log files without print/printf.
|
I mean that it will save space because if it logs every command ect. I dont mean that it will stop it, just remove unnecessary logging. Like I set mine to register every command input, and everytime a player enters a vehicle(just for debug atm). I know it takes up space, but its not like the server is public.
Re: How to stop server_log.txt? -
Whizion - 21.12.2010
Thanks RetardedWolf, i'll try that.