• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Change log folder

icekis

Member
Joined
Jan 18, 2018
Messages
91
Reaction score
5
I would like to know how i can save GM logs outside of the data folder
 
Solution
I don't have OTX 3.9 but I checked OTX 3.8 and it shouldn't be so different,
in commands.cpp
you can change this
C++:
        logFile << "data/logs/" << player.getName() << " commands.log";
TFS version? you should have this in your config.lua logsDirectory = "data/logs/" then you can change the directory to anywhere I think so.
 
I don't have OTX 3.9 but I checked OTX 3.8 and it shouldn't be so different,
in commands.cpp
you can change this
C++:
        logFile << "data/logs/" << player.getName() << " commands.log";
 
Solution
Back
Top