Frontend logs are available as part of Forge's Early Access Program (EAP). To get started, sign up using this form.
This feature is supported for both UI Kit and Custom UI across all environments, including production. It captures console.error, uncaught exceptions, and unhandled promise rejections, with a stack trace.
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.
To view app logs:
The page shows app logs you have access to, with entries from different sources in the same table.

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.
The table contains a list of your logs.
console.log, console.warn
in your app's code. Unhandled errors are assigned the Error level, and include both app errors and
platform errors.For function logs grouped by invocation, select Load logs for another invocation to see logs for another invocation.
Expand a row in the log table to view the entry’s details. All backend log entries contain:
Function log entries also contain:
Container log entries also contain:
These attributes appear when you expand a frontend log. See Frontend log limits for how Forge truncates oversized frontend log data.
console (console.error),
uncaught exception (an uncaught ErrorEvent), or unhandled rejection
(an unhandled promise rejection).TypeError or RangeError.
For console.error calls with no Error object, this is unknown.confluence:globalPage.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:
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.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.
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 type | How to get the source map |
|---|---|
| UI Kit | Run 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 UI | Run 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:
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:
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.
You can use filters to further refine your logs.
https://your-domain.atlassian.net. You can select a maximum of 50 sites.Reset to default.You can download app logs, based on the filters you've chosen.
To download app logs:
Use filters to further refine your logs as necessary.
Select the Download button.
In the menu that appears, select one of the following format options:
.log file, making it easier
for systems to consume downloaded files programmatically.Rate this page: