adding logging config and sample