Re: [Lxr-dev] DB only opened, never closed?
Brought to you by:
ajlittoz
From: Malcolm B. <ma...@br...> - 2001-10-17 23:58:32
|
Jan-Benedict Glaw wrote: > > Well, give me that DebugPrintF:-) You're right, debugging under mod_perl is not so easy. I think there are some Apache::* modules that help, but I haven't investigated. While there's no debugprintf that logs to file (yet!), there is warning() which dumps stuff out to the web browser and to the server logs. I've used this before to track down problems. grep for "warning" to see how it's used - it's pretty simple. If you set $wwwdebug (top of Common.pm) then it logs to both server logs and to the browser, otherwise it just dumps to the server logs. Hope that helps your debugging! I'm out of diskspace on my laptop so I can't install psql to investigate this at all - time to get another machine :-) Malcolm |