fixed logger for devices and views