To enable custom ssl log in apache follow below steps:
1. Add the below configuration files in post_virtualhost_global.conf for logging all SSL entries for virtual hosts that a user owns.
WHM »Service Configuration »Apache Configuration »Include Editor Post »VirtualHost Include
Include /etc/apache2/conf.d/userdata/ssl/2_4/bunnytech/ssllog.conf
Include /etc/apache2/conf.d/userdata/ssl/2_4/bunnytech/ssllog.conf
2. Add the below configuration in ssllog.conf file for Custom Log and Log Format.
CustomLog "/usr/local/apache/logs/bunnytech-custom-ssl_log" "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %>s %b"