KeyShot Studio Log Level

This article will explain how to increase the log level for KeyShot Studio

For certain issues, the default logging level might be to low to register the issue.
In those cases, the log level needs to be increased to the max and the issue retriggered.

In order to set the maximum log level, two changes are required:

Increasing the Log Level:

In order to increase the log level, a file called lux_config.json needs to be created and placed inside the current user's home directory:

Windows:

  • %userprofile% or C:\Users\USERNAME

MacOS:

  • ~ or /Users/USERNAME

The file needs to contain the text 

{
"log": {
   "level": "debug"
}
}

You could also download this file and place it into the respective directory: lux_config.json

 

Engine Log Level:

For increasing the engine log level, please add a command-line argument to the executable.

Windows:

  • Open the Command Line (CMD) 

  • Navigate to the "bin" folder inside the KeyShot installations and open KeyShot with the prompt:.\keyshot.exe -v 4

  • Installed Just For Me (default):
    "C:\Users\<username>\AppData\Local\KeyShot\bin\keyshot.exe" -v 4

  • Installed For Everybody (default):
    C:\Program Files\KeyShot\bin\keyshot.exe" -v 4

  • You can also edit the shortcut or a copy of the shortcut and add  -v 4 to the end of the Target.

macOS:

  • Open the Mac Terminal:
  • Execute /Applications/KeyShot12.app/Contents/MacOS/KeyShot -v 4

 

Retrieving the LOG:

KeyShot.log is located in Appdata. Please trigger the issue again and send us the new log, ideally indicating the time when the issue occurred.

Windows:

  • Installed Just For Me:

    %LocalAppData%\Luxion\KeyShot or

    C:\Users\<username>\AppData\Local\Luxion\KeyShot

  • Installed For Everybody:

    %AllUsersProfile%\Luxion\KeyShot or

    C:\ProgramData\Luxion\KeyShot

macOS:

  • /Users/<Username>/Library/Application Support/Luxion/KeyShot or

    ~/Library/Application Support/Luxion/KeyShot

Note: The Library folder might be hidden by default and would need to right-click an empty spot in the folder, go to Show View Options, and put a check in the Show Library folder.