21.12.2010, 01:27
Yes you can but not scripting wise.
^
No, server will still send log files without print/printf.
Is there?
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.
^
Quote:
remove all the print() and printf() lines, they save it to the log so you may save space with them.
|
Quote:
I believe there's something you can set in server.cfg I just don't remeber what it is named.
|
Quote:
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. |
~/
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.