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.
Erik
Author, virtual worlds builder (avatar: Apollo Manga)
www.VirtualMarin.com
www.ErikBainbridge.com
www.examiner.com/second-life-in-national/apollo-manga
www.WarriorBrothers.com
www.MountainBikeRoots.com
> Message: 3
> Date: Mon, 19 Jan 2015 21:09:40 +0000
> From: Justin Clark-Casey <[email protected]>
> To: [email protected]
> Subject: Re: [Opensim-users] Flusing simulator log buffer
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=windows-1252; format=flowed
>
> I'm surprised to hear this since afaik (and in my immediate
> experience), log appends are flushed immediately.
>
> You might want to try setting ImmediateFlush in config [1] but this
> is true by default and not changed by OpenSimulator
> code.
>
> [1]
> http://stackoverflow.com/questions/14963735/log4net-rollingfileappender-not-flushing-io-buffer-with-low-volume-log
>
> On 19/01/15 18:54, Erik Gordon Bainbridge wrote:
>> Is there a way of flushing the simulator log buffer without shutting down
>> the simulator? I'm using m_log.Info() to
>> 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
>> simulator. There must be a better way!
>>
>> Thanks,
>>
>> Erik Gordon Bainbridge
>> Author, virtual worlds builder (avatar: Apollo Manga)
>> www.VirtualMarin.com <http://www.VirtualMarin.com>
>> www.ErikBainbridge.com <http://www.ErikBainbridge.com>
>> www.WarriorBrothers.com <http://www.WarriorBrothers.com>
>> www.MountainBikeRoots.com <http://www.MountainBikeRoots.com>
>>
>>
_______________________________________________
Opensim-users mailing list
[email protected]
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users