RE: File system full causes log4cxx to crash

2008-09-20 Thread renny . koshy
Peter - Sorry, been a bit busy lately, and missed this one... I don't believe it's a controllable behavior, from what I recall it is an OS level behavior on what happens when it is out of resources. I've seen apps not using Log4CXX do the same thing. Or worse, I've seen apps get "stuck". Th

RE: File system full causes log4cxx to crash

2008-09-20 Thread Shane Baker
I have a couple of comments: 1. The RollingFileAppender allows you to know a priori exactly how much disk space is required. Is there an amount of space you can be sure will exist? Worst case, if you own the environment, you could create a partition and log there. 2. I think a default beha

RE: File system full causes log4cxx to crash

2008-09-20 Thread Peter Steele
Does not one have any comments on this? Surely someone must have experienced this scenario, specially the volume where logs are being recorded becoming filled up. From: Peter Steele [mailto:[EMAIL PROTECTED] Sent: Friday, September 19, 2008 11:46 AM To: Log4CXX User Subject: File system full

Re: [log4cxx-users] Singleton class causes segfault at termination

2008-09-20 Thread Curt Arnold
On Sep 20, 2008, at 8:03 AM, Stefan Borovac wrote: Hi Oscar, just a guess. You are using an auto_pointer. That's not necessary as LoggerPtr is already a smart pointer. I had similar problems in the past. I have also designed a singleton which wrapps log4cxx and end up in massive termination p

Re: [log4cxx-users] Singleton class causes segfault at termination

2008-09-20 Thread Stefan Borovac
Hi Oscar, just a guess. You are using an auto_pointer. That's not necessary as LoggerPtr is already a smart pointer. I had similar problems in the past. I have also designed a singleton which wrapps log4cxx and end up in massive termination problems. Maybe it helps. Cheers Stefan Oscar Pere