-
Notifications
You must be signed in to change notification settings - Fork 2.9k
How to get your Firefox logs
lmarceau edited this page Aug 18, 2023
·
7 revisions
If you're having an issue in the application, but the application isn't crashing it will be useful to get the Firefox logs. Firefox logs can help pinpoint certain issues although without certainty. If you experience a crash make sure to share the crash log first rather than the Firefox logs.
There are two ways of getting Firefox logs. The first one you only need your phone and the second you need Xcode.
- Launch Firefox on a real device.
- Open Settings.
- Scroll down to
Version
and tap it 5 times. - Scroll down and hit
Copy log files to app container
. This triggers the logs to be saved into the Documents folder. - Open the Files App on your iOS device and navigate to
Browse
>On my iPhone
>Firefox
>Logs
. You can see the different logs files here, which you can export using the share menu from Apple.
- Launch Firefox on a real device.
- Open Settings.
- Scroll down to
Version
and tap it several times. - Scroll down and hit
Copy log files to app container
. This triggers the logs to be saved into the Documents folder. - Connect your device via USB.
- Open Xcode.
-
Window
>Devices
. Choose your device. - Find
Firefox
on the right side. - Click the three dots icon, and choose "Download Container…". Save it somewhere you can find later. This saves a .xcappdata file.
- Locate the
.xcappdata
file you just saved and right-click on it to "Show Package Contents". - Navigate to
AppData/Documents/Logs
, you have all the devices logs there.
Logs are into one file only called Firefox.log
. Each new application session will be saved inside the same file.
Logs were separated in three categories:
- Sync to record what's happening with Sync, Accounts, Providers, Storage, and Profiles called
Sync.log
- Browser to record what's happening in the front-end and the browser
Browser.log
- Keychain to record interactions with the keychain
Keychain.log
Each session created a new file, meaning there will be a lot of files in the Documents folder.