--DKU6Jbt7q3WqK7+M
Content-Type: multipart/mixed; boundary="Nq2Wo0NMKNjxTN9z"
Content-Disposition: inline


--Nq2Wo0NMKNjxTN9z
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello,

Can I use the log_config_module (mod_log_config.so) with
PerlProcessConnectionHandler somehow? Or do I have to use my own
implementation?

After running the attached config, I expected to see some content both
in test_log and test_log2...

--=20
Rados=C5=82aw Zieli=C5=84ski

--Nq2Wo0NMKNjxTN9z
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="test.conf"

LoadModule perl_module /usr/lib/apache/mod_perl.so
LoadModule log_config_module /usr/lib/apache/mod_log_config.so
Listen localhost:55555
ServerName localhost
PidFile test.pid
LogLevel debug
CustomLog test_log "%t %a"
SetHandler modperl
PerlOptions +Log
PerlProcessConnectionHandler FooConn
PerlLogHandler FooLog



use Apache2::Const -compile => qw(OK);
use Apache2::Connection ();
use APR::Socket ();

sub FooConn::handler {
my $c = shift;
$c->client_socket->send("pid $$\n");
return Apache2::Const::OK;
}

sub FooLog::handler {
open my $log, '>>', 'test_log2' or die $!;
print $log join "\t", $$, time, @_;
close $log or warn $!;
return Apache2::Const::OK;
}



# vim: filetype=apache ts=2 sw=2 et

--Nq2Wo0NMKNjxTN9z--

--DKU6Jbt7q3WqK7+M
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFEw4gdvesRuUOywuARArhFAKCj97MKU/oBY1BysBKK0iQojRLD8gCdFfhK
vQYeIL4BOirQk5nXUm+j/ds=
=INRm
-----END PGP SIGNATURE-----

--DKU6Jbt7q3WqK7+M--