Hi All,

Currently I am going through user core exception handling and identifying
changes required to do.

In user core [1] there are couple of places debug logs exists without
isDebugEnabled check.

Ex:getSearchBaseDirectoryContext(), setUserClaims()

Is there any rule for places where we can ignore isDebugEnabled check or
should we do isDebugEnabled check always?

[1]
https://github.com/wso2-dev/carbon4-kernel/blob/master/core/org.wso2.carbon.user.core/src/main/java/org/wso2/carbon/user/core/ldap/ReadWriteLDAPUserStoreManager.java
-- 
Gayan Gunawardana
Software Engineer; WSO2 Inc.; http://wso2.com/
Email: ga...@wso2.com
Mobile: +94 (71) 8020933
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to