updated sample app to use log provider