make vm.$log work for paths