change logger demo updated to make more sense