Source:
<code>public void doSetUserClaimValue(String userName, String claimURI, String claimValue, String profileName) throws UserStoreException { if (profileName == null) { profileName = UserCoreConstants.DEFAULT_PROFILE; } if (claimValue == null) { throw new UserStoreException("Cannot set null values."); } Connection dbConnection = null; String property = null; try { dbConnection = getDBConnection(); property = getClaimAtrribute(claimURI, userName, null); String value = getProperty(dbConnection, userName, property, profileName); if (value == null) { addProperty(dbConnection, userName, property, claimValue, profileName); } else { updateProperty(dbConnection, userName, property, claimValue, profileName); } dbConnection.commit(); } catch (SQLException e) { String msg = "Database error occurred while saving user claim value for user : " + userName + " & claim URI : " + claimURI + " claim value : " + claimValue; if (log.isDebugEnabled()) { log.debug(msg, e); } throw new UserStoreException(msg, e); } catch (UserStoreException e) { String errorMessage = "Error occurred while adding or updating claim value for user : " + userName + " & claim URI : " + <START> claimURI + " claim value : " + claimValue + " attribute : " + property + " profile : " + profileName; <END> if (log.isDebugEnabled()) { log.debug(errorMessage, e); } throw new UserStoreException(errorMessage, e); } catch (org.wso2.carbon.user.api.UserStoreException e) { String errorMessage = "Error occurred while getting claim attribute for user : " + userName + " & claim URI : " + claimURI; if (log.isDebugEnabled()) { log.debug(errorMessage, e); } throw new UserStoreException(errorMessage, e); } finally { DatabaseUtil.closeAllConnections(dbConnection); } }</code><technical_language>remove claim debug log</technical_language>

Target:
public void doSetUserClaimValue(String userName, String claimURI, String claimValue, String profileName) throws UserStoreException { if (profileName == null) { profileName = UserCoreConstants.DEFAULT_PROFILE; } if (claimValue == null) { throw new UserStoreException("Cannot set null values."); } Connection dbConnection = null; String property = null; try { dbConnection = getDBConnection(); property = getClaimAtrribute(claimURI, userName, null); String value = getProperty(dbConnection, userName, property, profileName); if (value == null) { addProperty(dbConnection, userName, property, claimValue, profileName); } else { updateProperty(dbConnection, userName, property, claimValue, profileName); } dbConnection.commit(); } catch (SQLException e) { String msg = "Database error occurred while saving user claim value for user : " + userName + " & claim URI : " + claimURI + " claim value : " + claimValue; if (log.isDebugEnabled()) { log.debug(msg, e); } throw new UserStoreException(msg, e); } catch (UserStoreException e) { String errorMessage = "Error occurred while adding or updating claim value for user : " + userName + " & claim URI : " + claimURI + " attribute : " + property + " profile : " + profileName; if (log.isDebugEnabled()) { log.debug(errorMessage, e); } throw new UserStoreException(errorMessage, e); } catch (org.wso2.carbon.user.api.UserStoreException e) { String errorMessage = "Error occurred while getting claim attribute for user : " + userName + " & claim URI : " + claimURI; if (log.isDebugEnabled()) { log.debug(errorMessage, e); } throw new UserStoreException(errorMessage, e); } finally { DatabaseUtil.closeAllConnections(dbConnection); } }