Clear log functionality added