add log for device suspend and resume