Developer
News and Updates
Get Support
Sign in
Get Support
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Last updated Dec 2, 2026

View app logs

App logs give you the information you need in order to debug your apps. Logs are enabled by default when a user installs your app, and are displayed in the developer console. If you need to view app logs for a site where the user has disabled log access, you can ask them to re-enable access.

App logs combine entries from your app’s functions, container services, and frontends in one stream. Use the filters to focus on a source. Each entry’s attributes depend on where it originated.

For Isolated Cloud (IC), customers don't have the option to enable or disable log sharing access to developers in Admin Hub, and app developers can't access IC logs in the developer console. IC customers can still download the app logs from Admin Hub and share them with the developer. This is the only way for developers to get access to logs of an IC customer.

For Atlassian Government Cloud (AGC) or FedRAMP, customers can enable or disable log sharing access to developers in Admin Hub, with sharing enabled by default. For more information, see Access app logs.

View app logs

To view app logs:

  1. Access the developer console.
  2. Select the app whose logs you want to view.
  3. In the left menu, select Logs.

The page shows app logs you have access to, with entries from different sources in the same table.

A list of logs and the associated filters

A maximum of 20 log events are displayed by default. To view more log events, select Load more logs at the bottom of the page.

Log table

The table contains a list of your logs.

  • Level: Displays the log level. This can be chosen by your app, by inserting log statements such as console.log, console.warn in your app's code. Unhandled errors are assigned the Error level, and include both app errors and platform errors.
  • Date/Time(UTC): Displays the time that the log was created in UTC.
  • Details: Shows a concatenated preview of the log message. Select anywhere in a row to expand it and view the entire log message. See Log attributes for more details.

For function logs grouped by invocation, select Load logs for another invocation to see logs for another invocation.

Log attributes

Expand a row in the log table to view the entry’s details. All backend log entries contain:

  • Environment: The app environment that produced the log entry.
  • Invocation ID: A unique identifier for the specific app invocation that generated the log lines.
  • Trace ID: A request identifier that can be used to track log lines across different Forge invocations and remote API calls.
  • Site: The name of the site where the app was invoked from.
  • Atlassian app: The Atlassian app onto which the Forge app is installed.
  • License: The license status of the app installation, such as active, inactive, or trial.
  • Edition: The app edition of the installation, such as standard or advanced.

Function log entries also contain:

  • Module: The name of the module where the log entry was generated.
  • Function: The name of the function where the log entry was generated.

Container log entries also contain:

  • Service: The container service that produced the log entry.
  • Placement: The placement identifier for the service.
  • Container: The container that produced the log entry.
  • Instance: The container instance identifier.

Frontend log attributes (EAP)

These attributes appear when you expand a frontend log. See Frontend log limits for how Forge truncates oversized frontend log data.

  • Log source: Where the frontend log came from. One of console (console.error), uncaught exception (an uncaught ErrorEvent), or unhandled rejection (an unhandled promise rejection).
  • Error type: The JavaScript error name, such as TypeError or RangeError. For console.error calls with no Error object, this is unknown.
  • Render type: Whether the log was emitted from a UI Kit or Custom UI frontend.
  • Extension type: The Forge module that rendered the frontend, for example confluence:globalPage.
  • Installation ID: A unique identifier for the app installation on the site that produced the log.
  • Browser name: The browser that ran the frontend, parsed from the user agent (for example, Chrome).
  • Browser version: The browser version parsed from the user agent.
  • Operating system: The operating system parsed from the user agent (for example, Mac OS X).
  • User agent: The full browser user agent string captured by the Forge frontend host.

Frontend stack traces (EAP)

When a stack trace is available, it appears below the log message when you expand a frontend log. Where the stack trace comes from depends on the log source:

  • Console: The stack of each Error object passed to console.error, in argument order. If you pass no Error object, for example console.error('Save failed'), the stack trace shows where console.error was called in your app.
  • Uncaught exception: The stack of the thrown error.
  • Unhandled rejection: The stack of the rejection reason.

Forge removes frames from its own frontend bridge, so the stack trace shows only your app's code and the libraries bundled with it. Stack traces longer than the frontend log limit are truncated.

Map a stack trace to your source code

Stack traces are captured as the browser reports them, so frames point to your app's deployed bundle, for example index-BT7uCJdn.js:13188:17 for Custom UI or main.js:2:295050 for UI Kit. Forge doesn't store or apply source maps. To see your source files and line numbers, apply the source map from your own build to the stack trace.

Use the source map from the same source code and build that you deployed. A source map from a different build maps frames to the wrong lines.

App typeHow to get the source map
UI KitRun forge build --inspect. It builds your app the same way forge deploy does and saves the bundle with its source maps, for example main.js.map.
Custom UIRun your resource's build, for example yarn build, with source maps turned on in your bundler config (for example, build.sourcemap in Vite). The source maps are written next to the bundle, for example dist/assets/index-<hash>.js.map.

For Custom UI, the bundle name in the stack trace must match the source map file name. For example, frames in index-BT7uCJdn.js need index-BT7uCJdn.js.map.

Any tool that applies a source map to a stack trace works, for example:

Search for logs

You can search for logs using invocation ID, trace ID, log messages, and modules. This helps narrow down log search results.

To search for logs:

  1. In the search box above, enter the attributes of the logs you're searching for.
  2. Press Enter or select the search icon.

To clear your search results, select the X button in the search box.

To efficiently narrow your search results, use the Add to search button next to the log details you want to filter by, such as Invocation ID, Trace ID, Function, and Site. This incorporates those values into your search, enabling you to filter results more quickly.

Filters

You can use filters to further refine your logs.

  • Site: Narrows down the logs based on the site that your app is installed onto, for example, https://your-domain.atlassian.net. You can select a maximum of 50 sites.
  • Environment: Narrows down the logs for a specific app environment for your Forge app.
  • Time range: Narrows down the logs for a specific time range that you set. Choose from a range of predefined values, such as the Last 24 hours, or choose a more specific time interval using the Custom option.
  • Source: Narrows down app logs by function or service. To focus on a container service, select it from the Service group.
  • Log level: Narrows down the logs based on the log level type that you set.
  • Atlassian app: Narrows down the metrics to show data from a specific Atlassian app if your Forge app supports multiple Atlassian apps.
  • More filters: Select additional filters to add to the filter bar.
    • Placement: Narrows down entries from a container service by placement.
    • Container instance: Narrows down entries from a container service by instance.
    • Version: Narrows down the logs based on the major version chosen.
    • License: Narrow down the logs based on the license status (active/inactive/trial) of your app installation if app is enabled for licensing.
    • Edition: Narrow down the logs based on the app edition value (standard/advanced) of your installation if app is enabled for editions.
  • You can't filter by Atlassian app. For example, you can't narrow down logs just for Jira instances on a particular site.
  • Logs are only available for the past 30 days and all dates are in UTC.
  • To clear your filters, select Reset to default.

Download app logs

You can download app logs, based on the filters you've chosen.

To download app logs:

  1. Use filters to further refine your logs as necessary.

  2. Select the Download button.

  3. In the menu that appears, select one of the following format options:

    • Logs as .csv, where data values are separated by commas, allowing for data transfer with little or no reformatting needed.
    • Logs as .log, which is a zipped file that contains a .log file, making it easier for systems to consume downloaded files programmatically.
  • The maximum file size when downloading logs is 100 MB.
  • Each downloaded log file has a maximum of 96,000 log lines.
  • To handle these limits, we recommend using filters before downloading logs.

Rate this page: