apache2 default ssl logging

Elan Ruusamäe glen at pld-linux.org
Wed Aug 13 17:46:44 CEST 2008


18:36:52 @glen> err. why default httpd config doesn't log to access_log ?
18:37:46 @jezik> 'cause it needs mod_log_config, afair
18:39:49 @glen> it's present
18:40:05 @glen> seems default ssl vhost has this line:
18:40:06 @glen> #   CustomLog logs/ssl_request_log "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
18:40:14 @glen> (in commented out state)
18:40:23 @glen> and it "occupies" the default customlog, which is outside vhost
18:40:37 @jezik> As above.
18:40:56 @glen> no
18:40:59 @jezik> mod_log_config is not needed for working http
18:40:59 @glen> you do not follow
18:41:06  CIA-36> kosmo * SPECS/ipset.spec: - updated to 2.3.3a [FN]
18:41:07 @glen> jezik, I HAV ETHE MODULE PRESENTTTTTT
18:41:31 @jezik> Well, you're still idiot, what a shame. Bye.
18:41:31 @glen> so, perhaps default ssl vhost config should be:
18:41:32 @glen> <IfModule mod_log_config.c>
                   CustomLog logs/ssl_request_log "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
                   CustomLog logs/access_log common
18:41:32 @glen> </IfModule>
18:41:33 (*) jezik &
18:41:38  CIA-36> kosmo * SOURCES/ipset-no_kernel_headers.patch: - outdated [FN]
18:41:45 @glen> jezik, it's not my problem that you can't read what i write to you
18:42:06 @glen> ie, there should be DUPLICATE (both) CustomLog directives presernt in SSL default vhost
18:42:16 (*) jezik was kicked from #pld by glen [blind lamer]
18:42:49 (*) mode/#pld [+o jezik] by vip`
18:42:49 (*) glen was kicked from #pld by jezik [Do *not* kick me.]

who needs ssl_request_log format anyway,
perhaps disable it in default config, and leave note if you enable you will loose the default one?
with additional note that if you want both log files, define two CustomLog lines?

-- 
glen


More information about the pld-devel-en mailing list