The process to find your logs varies per launcher.
Navigate into the folder called logs and look for the file named latest.log.
Navigate into the folder called logs and look for the file named latest.log.
Navigate into the folder called logs and look for the file named latest.log.
CurseForge
Right-click your modpack and select "Open Folder".
Prism Launcher
Right-click your modpack and select "Folder". Open the folder called .minecraft.
Official/vanilla launcher
Windows: Open Explorer, click inside the address bar, and enter %APPDATA%/.minecraft. Press Enter.
Here are some nice paste sites:
If you're sharing logs somewhere that supports attachments (like a Discord channel or GitHub issue), you can also attach your logs as a file.