diff options
Diffstat (limited to 'bin')
-rw-r--r-- | bin/OpenSim.Server.exe.config | 33 | ||||
-rw-r--r-- | bin/OpenSim.Server.ini.example | 27 |
2 files changed, 60 insertions, 0 deletions
diff --git a/bin/OpenSim.Server.exe.config b/bin/OpenSim.Server.exe.config new file mode 100644 index 0000000..c2d93c0 --- /dev/null +++ b/bin/OpenSim.Server.exe.config | |||
@@ -0,0 +1,33 @@ | |||
1 | <?xml version="1.0" encoding="utf-8" ?> | ||
2 | <configuration> | ||
3 | <configSections> | ||
4 | <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" /> | ||
5 | </configSections> | ||
6 | <runtime> | ||
7 | <gcConcurrent enabled="true" /> | ||
8 | <gcServer enabled="true" /> | ||
9 | </runtime> | ||
10 | <appSettings> | ||
11 | </appSettings> | ||
12 | <log4net> | ||
13 | <appender name="Console" type="OpenSim.Framework.Console.OpenSimAppender, OpenSim.Framework.Console"> | ||
14 | <layout type="log4net.Layout.PatternLayout"> | ||
15 | <conversionPattern value="%date{HH:mm:ss} - %message%newline" /> | ||
16 | </layout> | ||
17 | </appender> | ||
18 | |||
19 | <appender name="LogFileAppender" type="log4net.Appender.FileAppender"> | ||
20 | <file value="OpenSim.log" /> | ||
21 | <appendToFile value="true" /> | ||
22 | <layout type="log4net.Layout.PatternLayout"> | ||
23 | <conversionPattern value="%date %-5level - %logger %message%newline" /> | ||
24 | </layout> | ||
25 | </appender> | ||
26 | |||
27 | <root> | ||
28 | <level value="DEBUG" /> | ||
29 | <appender-ref ref="Console" /> | ||
30 | <appender-ref ref="LogFileAppender" /> | ||
31 | </root> | ||
32 | </log4net> | ||
33 | </configuration> | ||
diff --git a/bin/OpenSim.Server.ini.example b/bin/OpenSim.Server.ini.example new file mode 100644 index 0000000..ebd2d2c --- /dev/null +++ b/bin/OpenSim.Server.ini.example | |||
@@ -0,0 +1,27 @@ | |||
1 | ; * The startup section lists all the connectors to start up in this server | ||
2 | ; * instance. This may be only one, or it may be the entire server suite. | ||
3 | ; * Multiple connectors should be seaprated by commas. | ||
4 | ; * | ||
5 | ; * These are the IN connectors the server uses, the in connectors | ||
6 | ; * read tis config file and load the needed OUT and database connectors | ||
7 | ; * | ||
8 | [Startup] | ||
9 | ServiceConnectors = "OpenSim.Server.Handlers.dll:AssetServiceConnector" | ||
10 | |||
11 | ; * This is common for all services, it's the network setup for the entire | ||
12 | ; * server instance | ||
13 | ; * | ||
14 | [Network] | ||
15 | port = 8003 | ||
16 | |||
17 | ; * As an example, the below configuration precisely mimicks the legacy | ||
18 | ; * asset server. It is read by the asset IN connector (defined above) | ||
19 | ; * and it then loads the OUT connector (a local database module). That, | ||
20 | ; * in turn, reads the asset loader and database connection information | ||
21 | ; * | ||
22 | [AssetService] | ||
23 | LocalServiceModule = "OpenSim.Services.AssetService.dll:AssetService" | ||
24 | DefaultAssetLoader = "OpenSim.Framework.AssetLoader.Filesystem.dll" | ||
25 | AssetLoaderArgs = "assets/AssetSets.xml" | ||
26 | StorageProvider = "OpenSim.Data.MySQL.dll" | ||
27 | ConnectionString = "Data Source=localhost;Database=grid;User ID=grid;Password=grid;" | ||