simple device logging