# in an mp handler $r->notes('SESSION', $some_id_value); # and then in the httpd.conf LogFormat "%h %{SESSION}n %l %u %t \"%r\" %>s %b ...et cetera