Getting Minecraft Game Output Logs (Java Only)
The Minecraft launcher keeps logs of game events as they happen which can be useful for debugging errors or other issues that may occur within the game. There are five types of logs that can be obtained:
The game output window can be set to appear when Minecraft runs, and shows important Minecraft information, including errors and debug messages, and can sometimes pinpoint the source of a crash or other error.
Open the Minecraft launcher if it’s not already open and click on Settings.
Turn on the options Keep the launcher open while the game is running and Open output log when the game starts by clicking on the grey check boxes. The check boxes should now be green.
Click on the Java Edition tab on the left side of the Launcher and start the game now by clicking on PLAY.
The Game Output window should appear. For now let it run in the background.
As soon as your issue has occurred, go back to the Game Output window and select the entire log by pressing Ctrl-A (Windows / Linux) / Cmd-A (Mac). All of the text in the window should be highlighted blue. Afterwards press Ctrl-C (Windows / Linux) / Cmd-C (Mac) to copy the text into the clipboard.
Open Ubuntu Pastebin: (https://paste.ubuntu.com).
In the ‘Content’ box, paste the text you copied from the Game Output window by pressing Ctrl-V (Windows / Linux) / Cmd-V (Mac), or by right-clicking on the white text area (indicated by the large red box in the image below), and clicking Paste. Write your Discord username into the ‘Poster’ field (small red box in the image below).
Press the Paste! button at the bottom of the page and it will redirect you to the next page. Look for the URL (ex. https://paste.ubuntu.com/p/AbcDefg1h3) in the address bar.
Copy the URL as seen in the image below and give it to whoever requested it. Then wait for further instructions.
Game Output Window is Blank or Stays on “Waiting for Game Output”
Tell whoever asked you for this log and wait for further instructions.
Bad Gateway (500) Error on (https://paste.ubuntu.com/)
Split the contents being copied/pasted into two parts, then try again. Give both links to the requestor in order.