From: Chris W. <ch...@cw...> - 2004-10-15 10:44:19
|
On Oct 15, 2004, at 2:28 AM, Mike Schilli wrote: > Thanks for the patch ... I can certainly add it, but I'd rather like to > understand what's causing the problem. Do you have a test case? I'll be > happy to install SPOPS and try it out. > > Just out of curiosity: Are you guys defining additional log levels? Nope, it's a plain vanilla use. > Ideally, I'd like to have a test case that I could add to our test > suite to make sure the bug gets fixed completely. I'm not sure about the conditions that recreate this, so hopefully Jos can help out. The only issue I had was dealing with DESTROY -- for some reason the SPOPS package lexical $log went out of scope before one or more SPOPS objects did. Rather than figure out was was wrong I just wrapped the logging call in DESTROY in a 'if ( defined $log ) ...' and it seemed to work. Chris -- Chris Winters Creating enterprise-capable snack systems since 1988 |