Logger changed for path flexibility