Viewing JIRA logs online

Often, when an error occurs, you, as the administrator, will need to examine the JIRA log files to pinpoint the exact problem. Normally, in order to get access to the logs, you will need to either SSH into the server or download the file using an FTP client. In a locked-down environment, you will have to request this via your IT team, which could lead to a long turnaround time.

In this recipe, we will look at how you can access your JIRA log files from the JIRA UI, trail its contents online, and download them directly.

Getting ready

For this recipe, we need to have the JIRA Home Directory and DB Browser add-on installed. You can download it from the following link and install it with the UPM:

https://marketplace.atlassian.com/plugins/info.renjithv.jira.plugins.sysadmin.homedirectorybrowser/server/overview

How to do it...

Perform the following steps to access the JIRA log files from the JIRA UI:

  1. Navigate to Administration | Add-ons | Home Directory Browser.
  2. Select the log directory link to view its contents.
  3. Click the Live View link for the log file that you want to view. JIRA's log file is called atlassian-jira.log:
    How to do it...

How it works...

The JIRA Home Directory Browser add-on works by displaying the actual content of your JIRA_HOME directory inside your web browser. You can actually get access to more than just the log files. For example, you can look at JIRA's database configuration from the dbconfig.xml file, and download data exports from the export directory.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset