From: Chris W. <ch...@cw...> - 2004-01-10 02:36:12
|
I've modified SPOPS to get rid of the horrible, horrible built-in debugging (_w and _wm) and modified everything to use Log4perl. This is an extremely flexible logging system and makes your life much simpler. I've created a script to scan your existing code and modify any _w and _wm calls to call log4perl. It's a 90% solution -- it won't try and find crazy invocations but it should take care of the most common cases. While Log::Log4perl (and Log::Dispatch) is now a dependency and there's an automated way to changed your existing statements, the _w() and _wm() methods aren't removed yet. Calling them just calls log4perl under the covers. Hopefully this will minimize any initial pain for people who cannot easily modify production servers. If you're interested in testing out the 0.81 distribution let me know. I hope to get it out soon after I've had a chance to look over Simon's recent posts. Chris -- Chris Winters Creating enterprise-capable snack systems since 1988 |