KNOWLEDGE BASE

Command Line Repository folder does not change location after the [My Tableau Prep Repository] location is changed


Published: 22 Jun 2022
Last Modified Date: 22 Jun 2022

Issue

Unable to change the log folder location for Tableau Prep CLI.
Even if you change the repository location for Tableau Prep, the command line log folder stays in [C:\Users\<UserName>\Documents\My Tableau Prep Repository].

The issue is only for the [Command Line Repository] folder. All other folders from "My Tableau Prep Repository" are moved when User selects a new location from Prep builder File-> Repository Location menu except the [Command Line Repository] folder.

Please check the below image for the [Command Line Repository] folder​​​​​​.
User-added image

Environment

  • Tableau Prep Builder

Resolution

Option 1

Delete the log files manually in the [Command Line Repository] folder.
Can We Delete Tableau Desktop Or Tableau Prep Logs Folder?


Option 2

If the log size is increasing and causing disk shortage, you can suppress the creation of the log files below.

Suppress "log _*.txt" file in Tableau Prep Builder and CLI.

Create a "no-logs" (no extension) file in the directory as follow

Prep Builder
C:\Program Files\Tableau\Tableau Prep Builder 2021.1

Prep CLI
C:\Program Files\Tableau\Tableau Prep Builder <version>\resources\app\

When the file "no-logs" is found, Tableau Prep will not create "log _*.txt" file.

Cause

This issue is still under investigation under ISSUE ID: 1417333
Did this article resolve the issue?