yuzu-emu.github.io/site/content/help/reference/log-files.md
2023-11-03 21:48:11 -03:00

30 lines
1.9 KiB
Markdown

---
title: Getting Log Files
description: "How to properly gather and upload log files from yuzu."
---
<article class="message has-text-weight-semibold">
<div class="message-body">
<p>Before starting, please make sure that the log filter is set to <span style="color:cyan">*:Info</span> for better analyzation purposes. You can check the current log filter by going to <span style="color:cyan">Emulation -> Configure -> General -> Debug</span>, under the Logging section.</p>
<img src="https://i.imgur.com/9fLfykf.png"></img>
</div>
</article>
1. Launch the game that exhibits incorrect behaviour.
2. *(Android only)* Go to `Settings > Share debug logs` and share in the corresponding support/forum channel.
3. *(Windows/Linux only)* Close out of yuzu once the game crashes, freezes or shows any kind of unwanted behaviour.
<p style="color:cyan"><b>Note: After this step, yuzu needs to remain closed. Do not open the emulator until the rest of the steps are completed.</b></p>
4. Gathering the log files:
- 4a. *(Windows only)* Navigate to `%appdata%\yuzu\log\`. A file called `yuzu_log.txt` should be present in the directory.
- 4b. *(Linux only)* In the terminal, type `echo $XDG_DATA_HOME`. This command will print out the user-specific data directory. If nothing gets printed out, that means the directory hasn't been changed and the log is present in `~/.local/share/yuzu/log`. If something has been printed out, however, you should follow that directory instead and manually navigate to `/yuzu/log` there.
5. *(Optional)* If the log file is larger than 8 MB and you are planning to upload the file to Discord, you'll need to compress the file with a compression tool, such as [**7-Zip**](https://www.7-zip.org/).
6. Once you have obtained the log file, upload it where you were asked to provide a log file by this guide. (Discord, Community Forums...)
**You're done!**