How to stop server_log.txt?
#1

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.
Reply
#2

You can't.
Reply
#3

Impossible, tell people to stop talking to much.
Reply
#4

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
Reply
#5

remove all the print() and printf() lines, they save it to the log so you may save space with them.
Reply
#6

I believe there's something you can set in server.cfg I just don't remeber what it is named.
Reply
#7

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.
Reply
#8

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.
Reply
#9

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.
Reply
#10

Thanks RetardedWolf, i'll try that.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)