<div dir="ltr">log4net is capable,<br><br><lockingModel type="log4net.Appender.FileAppender+MinimalLock" /><br><br>be aware though that performance goes down the drain.<br><br>gsky<br><br><div class="gmail_quote">
On Thu, Aug 21, 2008 at 12:00 PM, Homer Horwitz <span dir="ltr"><<a href="mailto:homerhorwitz@googlemail.com">homerhorwitz@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Thu, Aug 21, 2008 at 10:34 AM, Kyle Hamilton <<a href="mailto:aerowolf@gmail.com">aerowolf@gmail.com</a>> wrote:<br>
>...<br>
<div class="Ih2E3d">> (Homer, the information on rolling file appenders is appreciated.<br>
> Many UNIX admins prefer to use their platform-native rolling<br>
> implementation, though, so they know exactly where to look in the case<br>
> of breakage.  I'd like to see if there's any way to do that?)<br>
</div>With your native tools, I don't know (and wouldn't expect it, as it<br>
already provides a way to do it).<br>
<br>
OTOH, to solve your problem (to know exactly where to look if OpenSim<br>
breaks): You don't have to use "OpenSim.log" in the logger<br>
configuration, you can put in a complete path to the directory where<br>
all your logs normally are stored instead (e.g.<br>
/var/log/opensim/OpenSim.log). That way, your logs are at the "usual"<br>
location, even without using the native tools.<br>
<br>
If that isn't enough, and the perfomance hit by opening and closing<br>
the logfile for every single log-line doesn't deter you, I'm sure you<br>
could write a small appender that inherits from FileAppender which<br>
does this, if there is no such feature in standard log4net.<br>
<br>
Cheers,<br>
  Holger<br>
<div><div></div><div class="Wj3C7c">_______________________________________________<br>
Opensim-dev mailing list<br>
<a href="mailto:Opensim-dev@lists.berlios.de">Opensim-dev@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-dev" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-dev</a><br>
</div></div></blockquote></div><br></div>