Logger in database connection classes