Fixed app logging issue