add logger settings and logger sample