SA-MP Forums Archive
[Tutorial] How to Disable Server-Log.txt and enable the text in the console - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Tutorials (https://sampforum.blast.hk/forumdisplay.php?fid=70)
+---- Thread: [Tutorial] How to Disable Server-Log.txt and enable the text in the console (/showthread.php?tid=423050)



How to Disable Server-Log.txt and enable the text in the console - Apenmeeuw - 16.03.2013

hey all,

HOW TO DISABLE THE CONSOLE FROM PRINTING INTO SERVER-LOG.TXT

Step 1:
if you have your console(samp-server.exe) running, close it, otherwise every step after this one won't work.

Step 2:
open your server-log.txt, press CTRL+A, press backspace to remove all of the text, and hit CTRL+S(save).

close it and click on server-log.txt, but DON'T open it, only click on it once, so you got it selected.

Step 3:
Press RMB on the server-log.txt and select "properties".

Step 4:
when you have opened the "properties", then you will see "read only", which you can toggle with a little box on the left of it.

toggle it on and press "ok".

Step 5:
Start your samp-server.exer and your server won't be able to print things into the server-log.txt anymore.

if you have questions, post them below please.

Credits:
rubenejbr - helping me to find this solution.


Re: How to Disable Server-Log.txt and enable the text in the console - Ryan_Bowe - 16.03.2013

Nice tutorial I make my own logs so I will use. Rep +.


Re: How to Disable Server-Log.txt and enable the text in the console - Bikken - 16.03.2013

I can open my server.cfg, and insert

chatlogging 0

, instead of this huge process just sayin


Re: How to Disable Server-Log.txt and enable the text in the console - Ryan_Bowe - 16.03.2013

Quote:
Originally Posted by Bikken
Посмотреть сообщение
I can open my server.cfg, and insert

chatlogging 0

, instead of this huge process just sayin
That only stops the chat from printing. This tutorial is for not letting anything print to the file.


Re: How to Disable Server-Log.txt and enable the text in the console - Apenmeeuw - 16.03.2013

yes but doing chatlogging 0 will make you unable to see the players chat ingame, it wont print anything out of ingame, this way it will show everything that happens ingame, but wont print it.

Thanks

EDIT: ryan was before me xD


Re: How to Disable Server-Log.txt and enable the text in the console - Kirollos - 03.05.2013

what about linux setting chmod to 000?