Minor changes in logging