The Log block

The Log block

The Log block accepts information to its input port and sends the information to the Postman Console. The Log block is useful for debugging flows.

Input

The Log block has a single input port that accepts data from any block's output port. If you connect multiple output ports to a Log blocks' input port, all the incoming data is sent to the Postman Console in the order it was received.

If you have any HTTP Request blocks in your flow, the requests they send are logged automatically as network events. You don't need to add Log blocks to capture that output.

Setup

Connect one or more block's output port to the Log block's input port to send the incoming data to the Postman Console. Select the View logs icon View logs icon to open the Postman Console.

Within the Postman Console, optionally click Open web icon to open a copy of the console in its own window. There you find the following checkboxes:

  • Show timestamps prefaces each log entry with a timestamp in HH:MM:SS.MS format where HH is the hour, MM is the minute, SS is the second, and MS is the millisecond.

  • Hide network hides the network events described in the Input section.

Example

To see the Log block in an example flow, check out Flow Snippets: Logging to Console.

The example flow below obtains a random integer, raises it to the third power, outputs a string stating both values, and logs the string.

A flow that logs output

Both the network event (that is, the HTTP request) and the output string appear in the log. With the Postman Console in its own window, you can turn on Show timestamps. In this case that reveals that the HTTP request was logged 60 milliseconds before the output.

How logs look in the console

Last modified: 2025/07/21


Postmanaut Cooper jumping over crystal ball. Illustration.