MegaGlest Forum

Archives (read only) => Vanilla Glest => Bug report => Topic started by: wolvverine on 22 March 2007, 22:59:42

Title: [windows] wrong place for files *.log in glest-2.0
Post by: wolvverine on 22 March 2007, 22:59:42
%APPDATA%/glest-2.0 is good place for log files.
 %PROGRAMFILES%/Glest_2.0 is very wrong place, and crash program if user have not administrators privileges.
Title:
Post by: docgonzo on 2 September 2007, 19:15:35
Yes, I have that exact problem. Where can I set this path?
Title:
Post by: jbr on 3 September 2007, 13:21:06
Hmmm... I never even think to look for log files anywhere but the program's directory... I hate it when computers (windows or linux) lock up directories...

You could install glest w/out administrative abilities?
Title:
Post by: docgonzo on 3 September 2007, 15:30:37
Nope
Title:
Post by: hailstone on 3 September 2007, 21:15:22
I don't think there is any place to set this path but it shouldn't be too hard to program one in.

Here is what I think could be done:
Code: [Select]
filename = config.getStr("UserDir");
filename += "log.txt";
[/list]

Something like that should work.