# Where are log files stored on mac os?

**URL:** <https://community.shotgridsoftware.com/t/where-are-log-files-stored-on-mac-os/6522>\
**Category:** Pipeline Integrations\
**Tags:** logging\
**Created:** [January 30, 2020, 11:32am UTC](https://community.shotgridsoftware.com/t/where-are-log-files-stored-on-mac-os/6522 "2020-01-30T11:32:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kevin\_Lmr](https://avatars.discourse-cdn.com/v4/letter/k/c0e974/32.png) [@Kevin\_Lmr](https://community.shotgridsoftware.com/u/Kevin_Lmr)\
**Post date:** [January 30, 2020, 11:32am UTC](https://community.shotgridsoftware.com/t/where-are-log-files-stored-on-mac-os/6522/1 "2020-01-30T11:32:37Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Kevin\_Lmr](https://avatars.discourse-cdn.com/v4/letter/k/c0e974/32.png) [@Kevin\_Lmr](https://community.shotgridsoftware.com/u/Kevin_Lmr)\
**Post date:** [January 30, 2020, 11:54am UTC](https://community.shotgridsoftware.com/t/where-are-log-files-stored-on-mac-os/6522/2 "2020-01-30T11:54:11Z")

</div>

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

And so log files are stored:

> **Mac**  
> `~/Library/Logs/Shotgun/`
> 
> **Windows**  
> `%APPDATA%\Shotgun\logs\`
> 
> **Linux**  
> `~/.shotgun/logs/`

---

<div class="post-metadata">

**Author:** ![jfboismenu](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/jfboismenu/32/717_2.png) [@jfboismenu](https://community.shotgridsoftware.com/u/jfboismenu)\
**Post date:** [January 30, 2020, 3:47pm UTC](https://community.shotgridsoftware.com/t/where-are-log-files-stored-on-mac-os/6522/3 "2020-01-30T15:47:36Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![philip.scadding](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/philip.scadding/32/30_2.png) [@philip.scadding](https://community.shotgridsoftware.com/u/philip.scadding)\
**Post date:** [January 31, 2020, 10:00am UTC](https://community.shotgridsoftware.com/t/where-are-log-files-stored-on-mac-os/6522/4 "2020-01-31T10:00:32Z")

</div>

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.
