specify infolog.txt output destination

specify infolog.txt output destination

Requests for features in the spring code.

Moderator: Moderators

Post Reply
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

specify infolog.txt output destination

Post by gajop »

By default spring outputs infolog.txt into ~/.spring on linux and probably spring install directory in windows(?).
Would it be possible to have a flag specify a different output directory or file? That would make it possible to have multiple valid infolog.txt from multiple spring instances.
I could be wrong, and this could already exist, but then it's not listed in spring --help.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: specify infolog.txt output destination

Post by hoijui »

What you want, is setting the writable data-dir; see rts/System/FileSystem/DataDirLocater.cpp:170+. highest priority, as you can see, has the SPRING_DATADIR environment variable.
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: specify infolog.txt output destination

Post by gajop »

yey, nice, that works just fine for what i need it
Post Reply

Return to “Feature Requests”