MB-10908 Hibernate error_logger.

Change-Id: I6499660fd053d5e5d84a656622f90b746e4e79eb
Reviewed-on: http://review.couchbase.org/36115
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>