Remove hardcoded path to log directory