ruff_hi
Live 4ever! Or die trying
I think I have got a problem... The autologger doesn't work in silent mode. Why? Because the "Default" directory doesn't exist. If I change manually to where I want, though, it works. Except for one little thing: it doesn't log the turn end and the turn starts!
The code to create the log path is in RuffModControl ...@Feedback - I'll take a look at that now and see what's up. I've never used logging, so I just left "Default" in there thinking the code understood it.
Code:
def get_AutoLog_Path():
try: AutoLogPath = RuffModConfigFile['AUTOLOG']['AutoLogPath']
except: AutoLogPath = userDir + '\AutoLog'
if (AutoLogPath == 'Default') : AutoLogPath = userDir + '\AutoLog'
if not os.path.isdir(AutoLogPath) : os.makedirs(AutoLogPath)
return AutoLogPath
Obviously this is a crappy place to put it as it should be in the autolog.py file. With all EF's chances, does that code get executed / called now?
I cannot see anything wrong in the code re not logging the start or end ... well, put it this way ... nothing jumps out at me. There is a small change that I was going to mention here but I decided to do it myself ... have now made the change and committed it back to SVN. Yay me! I am now contributing to the team!