Fix getLog directory path