a discussion on the opensim IRC today left me wondering if most people are missing information on configuring the logging in OpenSim. if you're running a simulator you've probably run across the OpenSim.exe.config file. and possibly even changed the logging level from Debug to something less verbose. i thought i'd pass on another tip... you can set up log file rotation by adding another appender to the configuration (this gets around the problem of having *really* big OpenSim.log files lying around). add the following just after the close tag ("</appender>") for the "LogFileAppender":<br>
<br>    <appender name="LogFileRotate" type="log4net.Appender.RollingFileAppender"><br>       <file value="OpenSim.log-" /><br>       <rollingstyle value="Date" /><br>
       <appendToFile value="true" /><br>       <maximumFileSize value="500KB" /><br>       <maxSizeRollBackups value="5" /><br>       <staticlogfilename value="false" /><br>
       <datePattern value="yyyy-MM-dd" /><br>      <layout type="log4net.Layout.PatternLayout"><br>        <conversionPattern value="%date{HH:mm:ss} %-5level - %logger %message%newline" /><br>
      </layout><br>    </appender><br><br>and then add change the root tag like this:<br><br>    <root><br>      <level value="DEBUG" /><br>      <appender-ref ref="Console" /><br>
      <appender-ref ref="LogFileRotate" /><br>    </root><br><br>that will create the log files of the form OpenSim.log-yyyy-mm-dd with a maximum size of 500KB. we run multiple simulators & put all our logs into a single directory by changing the <file> tag to point to the log directory.<br>
<br>this configuration was inspired by the examples in the log4net wiki: <a href="http://logging.apache.org/log4net/release/config-examples.html">http://logging.apache.org/log4net/release/config-examples.html</a><br><br>--mic<br>
<br>