Narrow logfile dependency to logdir instead of entire class