<html><head><title>Re: Opensim-users Digest, Vol 10, Issue 22</title>
</head>
<body>
<span style=" font-family:'arial'; font-size: 11pt;">After your reply, I looked more closely and realized that the buffer is being flushed immediately, except in one place. The problem seems to be in Mod-PayPal, which I'm trying to get working. After execution enters Mod-PayPal, immediate flushing of the buffer seems to get turned off for a while. I can only see all my debugging statements by shutting down the simulator. But outside of Mod-Paypal, the flush is immediate.<br>
<br>
Erik<br>
<br>
<span style=" font-size: 9pt;">Author, virtual worlds builder (avatar: Apollo Manga)<br>
</span></span><a style=" font-family:'garamond'; font-size: 9pt;" href="http://www.VirtualMarin.com">www.VirtualMarin.com</a><br>
<a style=" font-family:'garamond'; font-size: 9pt;" href="http://www.ErikBainbridge.com">www.ErikBainbridge.com</a><br>
<a style=" font-family:'garamond'; font-size: 9pt;" href="http://www.examiner.com/second-life-in-national/apollo-manga">www.examiner.com/second-life-in-national/apollo-manga</a><br>
<a style=" font-family:'garamond'; font-size: 9pt;" href="http://www.WarriorBrothers.com">www.WarriorBrothers.com</a><br>
<a style=" font-family:'garamond'; font-size: 9pt;" href="www.MountainBikeRoots.com">www.MountainBikeRoots.com</a><br>
<span style=" font-family:'Courier New'; font-size: 9pt;">> Message: 3<br>
> Date: Mon, 19 Jan 2015 21:09:40 +0000<br>
> From: Justin Clark-Casey <jjustincc@googlemail.com><br>
> To: opensim-users@opensimulator.org<br>
> Subject: Re: [Opensim-users] Flusing simulator log buffer<br>
> Message-ID: <54BD7294.4020905@googlemail.com><br>
> Content-Type: text/plain; charset=windows-1252; format=flowed<br>
><br>
> I'm surprised to hear this since afaik (and in my immediate<br>
> experience), log appends are flushed immediately.<br>
><br>
> You might want to try setting ImmediateFlush in config [1] but this<br>
> is true by default and not changed by OpenSimulator <br>
> code.<br>
><br>
> [1]<br>
> http://stackoverflow.com/questions/14963735/log4net-rollingfileappender-not-flushing-io-buffer-with-low-volume-log<br>
><br>
> On 19/01/15 18:54, Erik Gordon Bainbridge wrote:<br>
>> Is there a way of flushing the simulator log buffer without shutting down the simulator? I'm using m_log.Info() to<br>
>> write debugging messages to it, but the only way I can get most of them written in any timely manner is to shut down the<br>
>> simulator. There must be a better way!<br>
>><br>
>> Thanks,<br>
>><br>
>> Erik Gordon Bainbridge<br>
>> Author, virtual worlds builder (avatar: Apollo Manga)<br>
>> www.VirtualMarin.com <http://www.VirtualMarin.com><br>
>> www.ErikBainbridge.com <http://www.ErikBainbridge.com><br>
>> www.WarriorBrothers.com <http://www.WarriorBrothers.com><br>
>> www.MountainBikeRoots.com <http://www.MountainBikeRoots.com><br>
>><br>
>><br>
</body></html>