Where are log files stored on mac os?

Hi,

Probably a really simple question, but I can’t find the info!
Where are log files stored on macos?

I’ve found those useful paths:
~/Library/Caches/Shotgun/
~/Library/Preferences/Shotgun/

I need those to debug why an app for version isn’t available on mac but is on linux.
The app launches from the Versions page and is allowed to run on mac.

And by the way, in Shotgun Desktop, “Open the log folder” does not work for us on macos.

Cheers,
Kevin

3 Likes

I’ve just found the info here: https://developer.shotgunsoftware.com/38c5c024/

And so log files are stored:

Mac
~/Library/Logs/Shotgun/

Windows
%APPDATA%\Shotgun\logs\

Linux
~/.shotgun/logs/

3 Likes

Also, if you don’t like where Toolkit writes any of its files, you can set $SHOTGUN_HOME, which will relocate everything from caches to logs to another location on disk. Obviously, you’ll need to move your existing caches to the new location manually or you’ll have to recache everything.

When set, all logs would go under $SHOTGUN_HOME/logs on all platforms.

3 Likes

Word of warning though, if you do set your SHOTGUN_HOME env var, then I would strongly recommend leaving it pointing to a location on a local drive, not on network storage, for performance reasons.

3 Likes