Re: Log file size grows larger than the size configured using log4j.appender.R.MaxFileSize

2011-08-25 Thread Fabian Jacquet
Hi, I have the same problem some times. And I use log4cxx as a dll. I think the problem appear when the appender have no time to roll the file. I saw this into the stderr. I'm not sure how to resolve the problem but I tried to add buffering, I have not had the problem any more since this change.

Re: Crash at exit

2011-01-18 Thread Fabian Jacquet
I have the same problem if I use log4cxx.AsyncAppender. I fixed the problem by calling log4cxx::LogManager::shutdown(); before the end of the process. It's not very clean but it works. On Tue, Jan 18, 2011 at 09:40, Oscar Pernas os...@pernas.es wrote: I had the same problem. In my case, It was

Re: Memory Leak with MFC

2010-12-15 Thread Fabian Jacquet
Fine :-) On Tue, Dec 14, 2010 at 12:41, Noam Rathaus no...@beyondsecurity.comwrote: Hi, It appears that I had to clean the project, only then did this method work, thanks Fabian. On Mon, Dec 13, 2010 at 2:43 PM, Fabian Jacquet fabian.jacq...@gmail.com wrote: Are you sure that log4cxx

Re: Memory Leak with MFC

2010-12-13 Thread Fabian Jacquet
but not adding back log4cxx... Any other pointers? 2010/10/27 Fabian Jacquet fabian.jacq...@gmail.com Hi all, I have those memory leaks too, and after a lot of researches I found a pretty solution. The real problem is the following. When the process unloads MFC, it checks the memory. But in our

Re: Memory Leak with MFC

2010-10-27 Thread Fabian Jacquet
Hi all, I have those memory leaks too, and after a lot of researches I found a pretty solution. The real problem is the following. When the process unloads MFC, it checks the memory. But in our case, log4cxx is unloaded after MFC. So every static object of log4cxx is flagged as memory leak. I

Re: rollingfileappender.h

2010-09-17 Thread Fabian Jacquet
org.apache.log4j.RollingFileAppender. On Sep 15, 2010, at 4:25 AM, Fabian Jacquet wrote: Hi all, I need to configure a RollingFileAppender in the code of the program. But I see 2 definitions of RollingFileAppender (log4cxx::RollingFileAppender and log4cxx::rolling::RollingFileAppender) I don't know which

rollingfileappender.h

2010-09-15 Thread Fabian Jacquet
Hi all, I need to configure a RollingFileAppender in the code of the program. But I see 2 definitions of RollingFileAppender (log4cxx::RollingFileAppender and log4cxx::rolling::RollingFileAppender) I don't know which definition to use. Do you know why we have 2 different definitions? And which

Re: MDC automatically inherited

2010-08-20 Thread Fabian Jacquet
Bad luck Thank you. 2010/8/20 Krzysztof Bieleń kzes...@gmail.com Hi, it seems that this bug was reported earlier: https://issues.apache.org/jira/browse/LOGCXX-339 And here is copy of Curt Arnold answer to this issue: That statement was likely copied over verbatim from log4j and then

Re: MDC automatically inherited

2010-08-19 Thread Fabian Jacquet
does somebody use MDC with success? On Wed, Aug 18, 2010 at 11:27, Fabian Jacquet fabian.jacq...@gmail.comwrote: Hi all, I need to use NDC or MDC. I would like that child thread automatically inherit the parent context so I try to use MDC. Here is my code and it seems the context

MDC automatically inherited

2010-08-18 Thread Fabian Jacquet
Hi all, I need to use NDC or MDC. I would like that child thread automatically inherit the parent context so I try to use MDC. Here is my code and it seems the context is not inherited: #include stdafx.h #include log4cxx/log4cxx.h #include log4cxx/logger.h #include log4cxx/logmanager.h #include

Re: link error in release mode with Visual Studio 2008

2010-05-07 Thread Fabian Jacquet
less plausible though. And what would it be? Again, thanks for you answer. Any other idea on how I could make progress on this issue? Regards, Jean-Denis On May 7, 2010, at 10:29 , Fabian Jacquet wrote: Hi, The project configuration is different between debug and release. In debug you

Re: link error in release mode with Visual Studio 2008

2010-05-07 Thread Fabian Jacquet
in the hope of seeing those symbols in the output somehow. But then, I don't know what I can do next, whether or not they do show up. Jean-Denis. On May 7, 2010, at 15:26 , Fabian Jacquet wrote: venting frustration Why my boss don't want I develop for MacOS X ? :-) /venting frustration The class

Re: MS Visual Studio 2008 LNK2005 and LNK4006 errors and warnings that seem to be associated with log4cxx

2008-12-15 Thread Fabian Jacquet
Hello, I have the same problem. I tested log4cxx compiled in static mode with a little command line program and all was ok. So now I try to use log4cxx in my big program using GUI and MFC and I have the same link error. I'm searching about a solution. If you find before me please contact me.

Re: MS Visual Studio 2008 LNK2005 and LNK4006 errors and warnings that seem to be associated with log4cxx

2008-12-15 Thread Fabian Jacquet
Hi, My problem was log4cxx was compiled with /MT option and my project with /MD and one was compiled with unicode character set the other with no unicode. On Mon, Dec 15, 2008 at 09:41, Fabian Jacquet fabian.jacq...@gmail.comwrote: Hello, I have the same problem. I tested log4cxx compiled