On Wed, Jan 21, 2004 at 12:35:07PM -0800, Stas Bekman wrote: > William McKee wrote: > >The testing documentation at perl.apache.org says that the current trace > >level defaults to info. However, my system is outputting debug messages > >to the t/logs/error_log file. Is this the correct behavior in which case > >the docs are wrong? Or have I somehow configured my system to default to > >debug mode? > > What are the 'debug' messages you are talking about?
The [debug] messages in the t/logs/error_log. In particular the ones that look like the following: [Wed Jan 21 15:58:25 2004] [debug] mod_cvs.c(217): CVSCheck is off here: /index.html > The Apache LogLevel is set to 'debug': > > % grep Level t/conf/httpd.conf > LogLevel debug That's the one I needed to set. > The Apache-Test tracing mechanism is set to 'info'. so: > > use Apache::TestTrace; > info "doing foo"; # will be logged > debug "doing bar"; # won't be logged That makes sense now. I'm still getting the client and server stuff mixed up :). > Refer to the Apache::TestTrace manpage for more information. Thanks. > Please suggest a clarification to the docs now that you know all the > answers to this issue, William ;) Attached :). Thanks, William -- Knowmad Services Inc. http://www.knowmad.com
--- testing.pod.orig 2004-01-21 16:21:48.000000000 -0500 +++ testing.pod.wlm 2004-01-21 16:31:09.000000000 -0500 @@ -310,6 +310,10 @@ % t/TEST -trace=warning ... +These messages are printed to STDOUT during testing. See Apache::TestTrace for +more information. To control the messages printed to the server error_log, set +the Apache directive LogLevel. See the Apache documentation at httpd.apache.org +for more details. =head2 Stress Testing