CLOG-21 - Add JDK logging adapter, move common code to logger