device log api