added logging
Merge branch 'master' of https://github.com/wso2/carbon-kernel