Added Logging sample

Also made some minor changes on webrtc sample