But then I would need another application for the receiving side. With memory mapped files, it's the OS that handles this transparently and flushes the file to disk when the logging application crashes. That seems like a more elegant solution to me.
Lars From: chandpriyank...@gmail.com [mailto:chandpriyank...@gmail.com] On Behalf Of chand priyankara Sent: jeudi 16 janvier 2014 03:04 To: Log4CXX User Subject: Re: Logging to memory mapped files Hi, What about socket appenders? wont it be better than file appender, in your case. You can receive the data from other side. I think it'll be faster. regards, Chand Priyankara |BSc(Eng) - Electrical & Information |(094) 773-361-566 |ch...@engineering.com |http://chandpriyankara.blogspot.com sent via internet On Wed, Jan 15, 2014 at 8:41 PM, Rhys Ulerich <rhys.uler...@gmail.com> wrote: >> Curiosity, turning off the buffering on FileAppender isn't close enough to >> what you want? > > Well, maybe. > But won't turning off buffering severely decrease performance because of > higher i/o activity? Yeah. I was thinking that one would toss the file onto something RAMish. But you're right that it won't have the performance profile you want. Sorry, Rhys