My guess is your Opensim.ini, which loads after your GridCommonA.ini, is overriding the defaults you think you are setting. I would follow the chain of includes and look in Opensim.ini at the [Messaging] Section

I do something similar in Dreamgrid for single folder and single exe use. I relocate Opensim.ini into the region folder, along with logs so they are specific to each Instance.  I do not change GridCommon.ini, as I use Opensim.ini for the [Messaging] and other changes per Instance, as it can override any other parameter previously set.

Minor note: There is no need for an empty gridCommon.ini in config-include as you can edit the include out of GridHypergrid.ini. But your method works, too.

Multiple instances of Opensim cannot share the same Logger.   So OpenSim.exe.config is changed to add ${OSIM_LOGPATH},  a log path environment variable, per the Opensimulator wiki, so I can relocate the log files to specific Region folders.  This is the only file that Opensim could overwrite on an update of the opensim code  - everything else is stock Opensim.

<appender name="LogFileAppender" type="log4net.Appender.FileAppender">
      <file value="${OSIM_LOGPATH}\OpenSim.log" />

...

A batch file (Windows) than sets the name of the sim for command line mode:

@echo Loading %1
cd bin
set SimName=%1
set OSIM_LOGPATH = "%~dp0\bin\Regions\%SimName%"
@echo OpenSim.exe -inidirectory="./Regions/%SimName%"
OpenSim.exe -inidirectory="Regions/%SimName%"
@rem cd ..
echo %SimName% has exited.

--ooo------/\/\/\-----|(------ooo------/\/\/\-----|(------ooo----
Fred K. Beckhusen
President
Micro Technology Services, Inc.
fre...@mitsi.com
tel: (888) 230-MTSI Toll Free
cel: (469) 951-7635
http://www.mitsi.com




---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
_______________________________________________
Opensim-dev mailing list
Opensim-dev@opensimulator.org
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-dev

Reply via email to