Skip to content

Commit

Permalink
Clarify how to read logs on macOS (#3808)
Browse files Browse the repository at this point in the history
I removed the sentence `See the Mac App section for more information.`
because I cannot find the relevant information. It would be great to
have a separate log file and indicate its location in the document.

For the record, I just spent 15 minute searching for the location of a
log file in the document, which is painful because the website does not
have a search button. Eventually I gave up and looked into the source
file, and finally found the following comment (btw do we really need
`sudo`?):


https://github.com/ghostty-org/ghostty/blob/ca7c9547129cb156417f7aa50cb390edecb685d7/src/main_ghostty.zig#L129-L132

Hopefully, this commit can make other new users' lives easier!
  • Loading branch information
mitchellh authored Dec 28, 2024
2 parents ca7c954 + 351a7c0 commit 531a225
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/build/mdgen/ghostty_5_header.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ If your configuration file has any errors, Ghostty does its best to ignore
them and move on. Configuration errors currently show up in the log. The log
is written directly to stderr, so it is up to you to figure out how to access
that for your system (for now). On macOS, you can also use the system `log` CLI
utility. See the Mac App section for more information.
utility with `log stream --level debug --predicate 'subsystem=="com.mitchellh.ghostty"'`.

## Debugging Configuration

Expand Down

0 comments on commit 531a225

Please sign in to comment.