> Herbert, this is already documented here: > http://perl.apache.org/release/docs/2.0/user/compat/compat.html#C_log_reason___
it says: log_reason() has been replaced with a set of dedicated functions: Apache::RequestRec::log_error(), Apache::ServerRec::log_error(), Apache::Log::info() and others. > > You want to load Apache::RequestRec and then it'll show up. ok, I tried, but "Apache::log_error" still does not show up. after "use Apache::RequestRec()". the error_log still says: [Tue Jun 04 11:25:26 2002] [error] Undefined subroutine &Apache::log_error called at /root/Portal/test3.pm line 17. test3.pm looks like this: --- package test3; use strict; use Apache2; use Apache::compat; use Apache::RequestRec(); use Apache2::Apache::RequestRec(); use Apache::Connection; use Apache::Constants qw(:common); use Apache::Log(); use Apache2::APR::Table(); BEGIN { print("test3.pm::BEGIN\n"); Apache::log_error("test3.pm::BEGIN"); } --- The compat-mode should only need you to include two lines: use Apache2; use Apache::compat; and no additional modifications. Otherwise, it would be a "not-so-compat-mode", correct? ;-) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]