Where does the build tool watchman store it's log file by default?
Check curent log file by default:
ps aux | grep watchman
mac 77620 0.0 0.0 2475836 672 ?? S< 2:26PM 0:00.23 /usr/local/Cellar/watchman/4.7.0/libexec/bin/watchman --foreground --logfile
=/usr/local/var/run/watchman/mac-state/log --log-level=1 --sockname
=/usr/local/var/run/watchman/mac-state/sock --statefile
=/usr/local/var/run/watchman/mac-state/state --pidfile
=/usr/local/var/run/watchman/mac-state/pid
Also, you are allowed to set your own log file.
watchman -o /tmp/log
see more:
watchman --help
-o, --logfile=PATH Specify path to logfile
Watchman places logs in a file named
<STATEDIR>/<USER>.log
, whereSTATEDIR
is set at the time that you built watchman.
By default, STATEDIR
is <PREFIX>/var/run/watchman/<USER>-state/log
.
If you're running a homebrew build of watchman, you'll find the logs in a path named something like
/usr/local/Cellar/watchman/3.2.0/var/run/watchman/<USER>.log
.
Info taken from the docs at https://facebook.github.io/watchman/docs/troubleshooting.html#where-are-the-logs
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With