Skip to content

Commit

Permalink
Update Troubleshooting section
Browse files Browse the repository at this point in the history
- Improve instructions for enabling debug logs
- Mention that stdout is not used for logging
- Remove HOMEBREW_PREFIX from logs locations since homebrew installation
  is not recommended.
- Remove note about old logs location

Fixes: lima-vm#70
Signed-off-by: Nir Soffer <[email protected]>
  • Loading branch information
nirs committed Nov 20, 2024
1 parent 1bd4b20 commit f75d83b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@ sudo /usr/libexec/ApplicationFirewall/socketfilterfw --add /usr/libexec/bootpd
- [`file:///Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/vmnet.framework/Versions/Current/Headers/vmnet.h`](file:///Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/vmnet.framework/Versions/Current/Headers/vmnet.h)

## Troubleshooting
- Set environment variable `DEBUG=1`
- See `${HOMEBREW_PREFIX}/var/log/socket_vmnet/{stdout,stderr}` (when using launchd).
The path was previously `${HOMEBREW_PREFIX}/var/run/socket_vmnet.{stdout,stderr}` until March 2023.

- To enable verbose debug logs, set the environment variable `DEBUG=1`.
- When using launchd, logs are written to `/var/log/socket_vmnet/stderr`.
`/var/log/socket_vmnet/stdout` is not used and expected to be empty.

0 comments on commit f75d83b

Please sign in to comment.