Reduce processing time by extracting all upgrade related logs into a separate file named database-upgrade_<timestamp>.log. You can also zip the file and attach it to upgrade history.

Before you begin

Role required: admin.

About this task

When the upgrade starts, the upgrade log messages are written to both the localhost_log file and the database-upgrade_<timestamp>.log file. When the upgrade is done, the database-upgrade_<timestamp>.log file is uploaded to the upgrade history table.

Procedure

  1. Navigate to All > System Logs > Utilities.
    Note: You can implement this step to view the extracted database-upgrade_<timestamp>.log file only after the upgrade is done.
  2. Click Node Log File Download.
    The database-upgrade_<timestamp>.log file appears in the list of log files.
    Note: The localhost_log file consists of all the logs. The database-upgrade_<timestamp>.log file consists of logs only related to the upgrade.

    The database-upgrade_<timestamp>.log file appears only if the glide.db.upgrade.log.save_to_db.enabled property is set to True. By default, the glide.db.upgrade.log.save_to_db.enabled is set to True.

  3. Go to Upgrade Center > Upgrade History.
    A list of upgrades shows up.
  4. Click the required upgrade from the list.
    You can see database-upgrade_<timestamp>.log file is automatically attached to the upgrade.
    Note: The database-upgrade_<timestamp>.log file gets attached only if the glide.db.upgrade.log.save_to_db.enabled property is set to True. By default, the glide.db.upgrade.log.save_to_db.enabled is set to True.
  5. Download the zipped database-upgrade_<timestamp>.log file.
    Note: The database-upgrade_<timestamp>.log file has been zipped to reduce the download time.