Server not updating location of server_log.txt
#1

Just implemented a log rotate script to make my logs more efficient, but the problem is, when the log is moved to the logs folder, and a new server_log.txt created in its place, the server does not begin logging to the new server_log.txt. However if I rename the file and keep it in the same directory, the server will carry on logging to that file, even if I call it asdsadas231dsaadsasdsd.txt.

In other words, the SA:MP Linux server seems to store the relative location of server_log.txt, how can I make it start logging to a replacement file after a log is rotated?

That barely even make sense to me, hopefully it makes sense to some of you!
Reply
#2

My 0.3c package DOESNT even have a log anymore lol
Maybe thats the problem? it doesnt write because it doesnt exist (lol?)
Reply
#3

Well yeah but as stated in the OP, it does exist. It is re-created when the old log is moved.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)