In /var/db/diagnostics folder there are some compressed binary .tracev3 log files.

How can I read them what is inside in a formatted way?


Ok, I've found that using log command will read these files in a formatted way, e.g.

log show file.tracev3 | less

Source: New macOS Sierra Artifacts

See also:

  • Any idea if there is a way to do this from the phone itself, or from a windows box?
    – Doug
    Jan 30 '18 at 15:54
  • @Doug If you've got a command line access on your iOS (jailbreak), possible. On Windows, not, unless you can log in into macOS machine (VM or remote), or there are some external tools for Windows reading these kind of formats.
    – kenorb
    Jan 30 '18 at 16:06
  • I have a jailbroken phone. I don't see the log command on it, but I'm trying to track down a binary. Hopefully I'll get lucky :-).
    – Doug
    Jan 30 '18 at 16:07
  • I have the same question and I’m on macOS and it doesn’t work. # log show 000000000000458d.tracev3 ========== /private/var/db/diagnostics/Persist/000000000000458d.tracev3 ========== log: Could not open tracev3 log file: The specified URL did not refer to a valid log archive Dec 10 '21 at 20:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .