Automatically captured data

Bugsnag automatically captures a variety of data to help you debug your errors. You may wish to avoid capturing some types of data, particularly if there are privacy implications for your users.

Application information

Information about the application can be useful to identify if an error occurs in certain versions.

Data Default value Preventing collection
Release stage The release stage of the application, which defaults to production. Modify getApp() in a callback

Device information

Information about the device can be useful to identify if an error is only occurring on some devices.

Data Default value Preventing collection
Hostname The name of the localhost, given by the COMPUTERNAME environment variable on Windows, HOSTNAME on Unix, or InetAddress.getLocalHost().getHostName() if none of the above are available. Modify getDevice() in a callback
Locale The default locale for this JVM Modify getDevice() in a callback
OS arch The value of the os.arch system property Modify getDevice() in a callback
OS name The value of the os.name system property Modify getDevice() in a callback
OS version The value of the os.version system property Modify getDevice() in a callback
Runtime name The value of the java.runtime.name system property Modify getDevice() in a callback
Runtime version The value of the java.runtime.version system property Modify getDevice() in a callback

Request information

Details about the request can be helpful to reproduce errors.

Please note that request information is only automatically recorded for applications which use the Java Servlet API directly.

Data Default value Preventing collection
Url The URL of the current HTTP request Call clearTab("request") in a callback
Method The method of the current HTTP request Call clearTab("request") in a callback
Params The query parameters of the current HTTP request Call clearTab("request") in a callback
Client IP The IP used to originate the current HTTP request Call clearTab("request") in a callback
Headers A map of HTTP headers of the current HTTP request Call clearTab("request") in a callback

Error information

Modifying error information may affect error grouping.

Data Default value Preventing collection
Context Set as the request method and URI for the current HTTP request if using the Servlet API Call setContext("value") in a callback
Error class The class of the error that occurred Call setExceptionName("value") in a callback
Error message The message of the error that occurred Not possible
Stack trace A stacktrace of the filename, method, and line number of where the error occurred in the source code, if this information is available Modify getStackTrace() in a callback