When my filter is installed, i want to log some message to the server Log, like:
[Fri Sep 28 15:23:27 2007] [notice] suEXEC mechanism enabled
(wrapper: /usr/sbin/suexec)
I thought i can use this:
sub DIR_CREATE {
my $s = Apache2::ServerUtil->server;
$s->log_serror( Apache2::Log::LOG_MARK, Apache2::Const::LOG_NOTICE,
APR::Const::SUCCESS, "CAE-ResponseFilter enabled."
);
}
The message is logged - but to "stdout - console" where i am starting apache
like this: /etc/init.d/apache2 start ... no to the log file.
How can i log to this logfile?
Torsten
smime.p7s
Description: S/MIME cryptographic signature
