Re: Logging to memory mapped files

2014-01-16 Thread Thorsten Schöning
Guten Tag Rhys Ulerich, am Mittwoch, 15. Januar 2014 um 16:11 schrieben Sie: > 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. Why would writing to a RAM-disk without buffering suffer performance?

RE: Logging to memory mapped files

2014-01-16 Thread RUOFF, LARS (LARS)
l.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&

Re: Logging to memory mapped files

2014-01-15 Thread chand priyankara
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* [image: Facebook] [image: LinkedIn]

Re: Logging to memory mapped files

2014-01-15 Thread Rhys Ulerich
>> 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

RE: Logging to memory mapped files

2014-01-15 Thread RUOFF, LARS (LARS)
Sent: mercredi 15 janvier 2014 15:55 To: Log4CXX User Subject: Re: Logging to memory mapped files > So is there any possibility to have an log4cxx appender logging to a > memory mapped file? (primary target is Linux) > > Does anybody have had experience with implementing that? How woul

Re: Logging to memory mapped files

2014-01-15 Thread Rhys Ulerich
> So is there any possibility to have an log4cxx appender logging to a memory > mapped file? (primary target is Linux) > > Does anybody have had experience with implementing that? How would you do > it? No experience, no. A rough hack would be to call WriterAppender::setWriter on a ConsoleAppende

Logging to memory mapped files

2014-01-15 Thread RUOFF, LARS (LARS)
Hi, I'm using log4cxx v0.9.7 (for historical reasons) My question is whether it is possible (in this or any other version) to work with memory mapped files. Objective is to have the application log both to a rolling i/o-buffered file on disk for the long-term log and an unbuffered memory mapped