SA-MP Forums Archive
server does not write logs into server_log.txt - 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)
+--- Thread: server does not write logs into server_log.txt (/showthread.php?tid=585255)



server does not write logs into server_log.txt - Mamal75 - 12.08.2015

hello everyone
i have a problem with my server
server show all logs in samp-server.exe but it doesn't write them into server_log.txt
for example if i use print() to print something it won't save into text file !

everytime that i run server, it write this things into server_log.txt and WON'T write anything more

Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[10:38:50] filterscripts = ""  (string)
[10:38:50] 
[10:38:50] Server Plugins
[10:38:50] --------------
[10:38:50]  Loading plugin: crashdetect
[10:38:50]   CrashDetect v4.15.1 is OK.
[10:38:50]   Loaded.
[10:38:50]  Loading plugin: mysql
[10:38:50]  >> plugin.mysql: R39-3 successfully loaded.
[10:38:50]   Loaded.
[10:38:50]  Loading plugin: streamer
[10:38:50] 

*** Streamer Plugin v2.7.7 by Incognito loaded ***

[10:38:50]   Loaded.
[10:38:50]  Loading plugin: fixes2
[10:38:50] 

[10:38:50]  ===============================

[10:38:50]        fixes plugin loaded.     

[10:38:50]    © 2012 Alex "******" Cole

[10:38:50]  ===============================
what kind of codes can cause this problem ?
or bad versions of plugins can avoid write server logs ?

NOTE: Read-Only for server_logs.txt is UNMarked...
my codes is problem .. not my windows setting

thank in advance
+rep


Re: server does not write logs into server_log.txt - SickAttack - 12.08.2015

Post the code.


Re: server does not write logs into server_log.txt - Mamal75 - 12.08.2015

Quote:
Originally Posted by SickAttack
Посмотреть сообщение
Post the code.
if i know which part code cause this problem i'll fix it !
my questions is "What kind of codes or mistakes in script can Avoid Log&Prints Writing" ?!


Re: server does not write logs into server_log.txt - SickAttack - 12.08.2015

Quote:
Originally Posted by Mamal75
Посмотреть сообщение
if i know which part code cause this problem i'll fix it !
my questions is "What kind of codes or mistakes in script can Avoid Log&Prints Writing" ?!
I have no idea. Post code if you want me to help.


Re: server does not write logs into server_log.txt - Mamal75 - 12.08.2015

FIXED!
it was "fixes2" plugin problem...


Re: server does not write logs into server_log.txt - SickAttack - 12.08.2015

Quote:
Originally Posted by Mamal75
Посмотреть сообщение
FIXED!
it was "fixes2" plugin problem...
Yeah, not really. That plugin exists and is used for a reason.