Create .logger directory only if it doesn't exist