crash on exit

2010-09-08 Thread Oscar Pernas
Hi all, I know that this subject is not new but I dont find any solution about it. I've compiled trunk svn version and Im still having crashes on exits. One of the multiples entrys that valgrind gives me when it crash is this. The problem is solved??? any workaround??? ==20550== 18 bytes in 1 bl

Re: Crash at exit

2011-01-18 Thread Oscar Pernas
I had the same problem. In my case, It was caused because log4cxx uses APR libraries, and in my project I was using too. Are you using APR in your project? are you making a apr_terminate in your code? Regards 2011/1/18 Thorsten Schöning > Guten Tag Andreas Volz, > am Dienstag, 18. Januar 2011 u

Re: Crash at exit

2011-01-18 Thread Oscar Pernas
gt; It's not very clean but it works. > > > On Tue, Jan 18, 2011 at 09:40, Oscar Pernas wrote: > >> I had the same problem. In my case, It was caused because log4cxx uses APR >> libraries, and in my project I was using too. Are you using APR in your >> proje

multiples instances of log4cxx

2012-10-24 Thread Oscar Pernas
Hi all, I have a DLL (with vs2008) that uses log4cxx. All is working ok reading configuration file log4AI.properties. I have a process that loads this DLL and uses log4cxx too. This process is configured to read a properties file log4jSM.properties. When the process starts, the firsts traces are

Re: multiples instances of log4cxx

2013-01-23 Thread Oscar Pernas
faceTest liblog4cxx.so.10 => /usr/lib/liblog4cxx.so.10 (0x7f813ed09000) (DLL) ldd libAI.so liblog4cxx.so.10 => /usr/lib/liblog4cxx.so.10 (0x7fb53683a000) What I'm doing wrong? I think that Im linking with the correct dinamic library... Regards 2013/1/17 Oscar Pernas

Re: Status of log4cxx under Windows using VS 2010

2014-03-21 Thread Oscar Pernas
Hi, I've compiled log4cxx in vs2010 following the same HOW-TO. Everything went fine, dll was generated. My problem started when I was linking with my app, I had some weird errors like already defined object std::vector, resolved including log4cxx.h in my files that was failing. Now, If I start de

Loglines before a crash

2014-04-04 Thread Oscar Pernas
Hi all, I'm thinking in changing my homemade logger for log4cxx, and I would like to ask you a question. In my actual logger the last trace before a crash or before a shutdown of the process is not logged, because I'm enqueuing messages. I don't know, but I think that log4cxx enqueue messages to

stablishing a header when logs rotates

2015-01-19 Thread Oscar Pernas
Hi all, I would like to add a header to each log file when the logfile rotates. There is any way to do it? is there any callback thrown when the log rotates? Thanks a lot! -- Óscar Pernas Plaza.