Where to find server logs in Roblox Studio

Server logs in Roblox Studio appear in the Output window, which is the main place where your game prints messages, errors, and warnings while it runs. When you start a server in Studio — either through Play mode or Team Create — any code running on the server side writes its output here. You do not need to hunt through files or open a separate application; the logs are built into Studio itself.

The Output window is usually docked at the bottom of Studio by default. If you cannot see it, go to the View menu at the top, click Output, and the window will appear or come to the front. Once it is open, you will see a blank area that fills with text as your server runs.

Key Takeaways

  • Server logs appear in the Output window inside Roblox Studio, not in a separate file or external program.
  • You can view logs while your game runs in Play mode or Team Create by watching the Output window in real time.
  • Use print() statements in your server scripts to write custom messages to the logs so you can track what your code is doing.
  • Filter the Output window by message type — errors, warnings, or output — to find the information you need faster.
  • Server logs in Studio are temporary and disappear when you stop the game; they are not saved to disk unless you copy them manually.

Starting a server and watching logs in real time

To see server logs as they happen, start your game in Play mode. Click the green Play button in the toolbar at the top of Studio. Your game will launch in a test window, and the Output window will begin showing messages from the server as it runs. Any errors, warnings, or print statements from your server-side scripts will appear here immediately.

If you are working in Team Create with other developers, server logs appear in the same Output window. Every developer on the team sees the same server output, so you can all watch what the server is doing at the same time. This is useful for debugging issues that only show up when multiple players are in the game.

While the game is running, scroll through the Output window to see older messages, or keep your eyes on the bottom to watch new messages arrive. When you stop the game by clicking the red Stop button, the server shuts down and the Output window stops receiving new messages.

Using print statements to write custom server logs

The most common way to add information to server logs is with the print() function in your Lua scripts. Any print statement in a server script will write a line to the Output window. For example, if you write print("Player joined the game") in your player join event, that message will appear in the logs every time a player joins.

You can print variables, numbers, and text together to track what your code is doing. A script that prints the player's name and health might look like: print(player.Name .. " has " .. player.Character.Humanoid.Health .. " health"). This helps you see exactly what values your code is working with while the game runs.

Print statements are temporary — they only show up while the game is running in Studio. Once you stop the game, those messages disappear from the Output window. If you need to save logs for later, you can copy and paste them from the Output window into a text file.

Filtering logs by message type

The Output window shows three types of messages: regular output (from print statements), warnings (yellow text), and errors (red text). At the top of the Output window, you will see three buttons or icons that let you filter which types you see. Click the button for Output to show only print statements, Warnings to show only warnings, or Errors to show only errors.

Filtering is useful when your game is running and the Output window is filling up with many messages. If you only care about errors right now, turn off output and warnings so you can focus on the red text. If you are looking for a specific warning your code should be printing, filter to warnings only and ignore everything else.

You can also search the Output window by typing in the search box (if your version of Studio has one) to find messages containing a specific word or phrase. This is faster than scrolling through hundreds of lines when you are looking for one particular message.

Understanding common server log messages

When your server starts, you may see messages about loading assets, initializing services, or connecting to Roblox. These are normal and do not mean something is wrong. Error messages in red usually point to a problem in your code — a missing variable, a function that does not exist, or a script trying to access something that is not there.

If a script crashes, the Output window will show an error message with the script name and the line number where the problem happened. This tells you exactly where to look in your code to fix it. Warnings in yellow are usually less serious — they alert you to something that might cause problems later, but the game keeps running.

Some messages come from Roblox itself, not your code. For example, you might see warnings about deprecated functions (old code that Roblox no longer recommends) or messages about network replication. These are informational and help you understand what the engine is doing behind the scenes.

Saving and exporting server logs

Server logs in Studio are not saved automatically. When you stop the game, the Output window clears and those logs are gone. If you need to keep a record of what happened, select all the text in the Output window with Ctrl+A (or Cmd+A on Mac), copy it with Ctrl+C, and paste it into a text editor like Notepad or Google Docs.

For longer debugging sessions, you can keep a text file open and paste the Output window contents into it every few minutes. This creates a record of what your server did over time. Some developers write their own logging systems that save messages to a file or database, but that requires more advanced scripting.

If you are trying to debug a problem that only happens in production (when your game is live), you cannot see the Output window directly. In that case, you would need to set up a custom logging system that writes to a file or external service, or use Roblox's built-in analytics tools to track errors.

Frequently Asked Questions

Why do I not see any messages in the Output window when my game runs?

The Output window might be hidden or minimized. Go to View > Output to open it. Also check that you are running a server — in Solo mode, some server-side code does not run the same way. If you have no print statements in your code, there may simply be nothing to display. Add a print statement at the start of a server script to test.

Can I see logs from players' games on my server?

No. The Output window in Studio only shows logs from your local test server. Once your game is published and players join, you cannot see their Output window. You would need to build a custom logging system that sends data back to your servers, or use Roblox's analytics dashboard to track errors and performance.

Do server logs show client-side errors too?

No. The Output window shows only server-side logs. Client-side scripts (LocalScripts) print to a different output that players see in their own Studio window if they are testing. If you need to debug client behavior, you have to run the game in Play mode and watch the client output, or ask players to share what they see.

What happens to logs if Studio crashes?

All unsaved logs are lost when Studio closes. If you are debugging a crash and need to preserve the logs, copy them to a text file before the crash happens. Some developers keep a second window open with a text editor so they can paste logs as they go.

Can I filter logs by script name or player?

The Output window does not have built-in filtering by script name or player. You can use the search box to find text, but if you need more advanced filtering, you would have to write a custom logging system that tags each message with that information and stores it somewhere you can search it later.