Enhancements in logging