add logging sample code