fixed log object not having 'stat' in tests