Fixed checkstyle problem.
Added logging interceptors.
Changed Dialect interface.
Added logic for dialect processing.