How to get additional details when we ask for them (logs, database, HAR file)
On this page:
- How to get Upsource log files?
- Where to find the Upsource database?
- How to record a browser session?
- How to get a thread dump
- How to get a heap dump
Sometimes we need additional details from you to investigate your issue more efficiently. In this case we will kindly ask you to send us Upsource log files, Upsource database, or record a browser session into a HAR file.
All these artifacts should be uploaded to our secure FTP server: ftp://ftp.intellij.net/.uploads under Anonymous user. Anyone can upload a file to this server. When done, please share the name of the archive with us.
How to get Upsource log files?
By default, log files are stored in the /logs directory of the folder where ZIP archive was extracted, so called Upsource home directory. If defaults were changed (Advanced settings area in Configuration wizard) during installation process, the log files can be found in the directory you've set.
Where to find the Upsource database?
By default, the database is stored in the /data directory of the folder where ZIP archive was extracted. If defaults were changed (Advanced settings area in Configuration wizard) during installation process, the database can be found in the directory you've set.
How to record a browser session?
Google Chrome:
Open Google Chrome and go to the page where the issue is occurring.
From the Chrome menu bar select
.Select the Network tab in the tool window that just appeared.
Press the Clear button to clear out any existing logs from the Network tab.
Check the Preserve log box.
Look for a round Record button. Press it once to start recording – the button will turn red.
Now try to reproduce the issue that you were experiencing before, while the network requests are being recorded.
Once you have reproduced the issue, right click anywhere on the grid of network requests, select Save as HAR with Content, and save the file on your computer.
Firefox
Navigate to Menu | Developer | Network
Reload the page.
Right-click anywhere in the table and select Save all as HAR.
Choose the destination file and save it on your computer.
How to get a thread dump
To get a thread dump for one of Upsource services, execute the following command:
<Upsource_home_directory>\apps\<service_name>\bin\<service_name>.bat|sh dump threads to-file
Example (for the Cassandra service on Linux):
<Upsource_home_directory>\apps\cassandra\bin\cassandra.sh dump threads to-file
The command stores the thread dump in the logs directory (the actual location is printed to the console).
How to get a heap dump
To get a heap dump for one of Upsource services, execute the following command:
<Upsource_home_directory>\apps\<service_name>\bin\<service_name>.bat|sh dump heap
Example (for the Cassandra service on Linux):
<Upsource_home_directory>\apps\cassandra\bin\cassandra.sh dump heap
The command stores the resulting heap dump in the logs directory (the actual location is printed to the console).