For example, if you use Apache::DBI, modify your httpd.conf file with:
PerlSetEnv DBI_TRACE "3=~/tmp/dbitrace.log" PerlModule Apache::DBI
Replace 3 with the trace level you want. The traces from each request will be appended to /tmp/dbitrace.log. Note that the logs will probably be interleaved if requests are processed concurrently.
Within your code, you can control trace generation with the trace( ) method:
DBI->trace($trace_level) DBI->trace($trace_level, $trace_filename)
DBI trace information can be enabled for all handles using this DBI class method. To enable trace information for a specific handle, use the similar $dbh->trace method.
Using the trace option with a $dbh or $sth handle is useful to limit the trace information to the specific bit of code that you are debugging.
The trace levels are:
mod_perl, modperl, Apache, perl, cgi, html, mod_perl, e-commerce, scalability, free, open source, OSS, apache, squid, high availability, modperl, linux, unix, Web, www, mod_perl, webserver, admin, apache, book, webmaster, tools, modperl, guide, docs, documentation, help, mod_perl, perl, information, apache, script, errata, eric cholet, perl, apache, mod-perl, stas bekman, mod_perl, cool, perl, Apache, performance, speed, choice
Other projects to check out: meta-religion.com is for those interested in Religious, Spiritual and Esoteric Phenomena. i-want-a-better.com is a community of people discussing what they would like to be improved in their lives and things they use and interact with. You may also want to find a healer in your area or read articles on variety of topics.