changes in logging functionality