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.
specify infolog.txt output destination
Moderator: Moderators
Re: specify infolog.txt output destination
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.
Re: specify infolog.txt output destination
yey, nice, that works just fine for what i need it