Class LogSettings


  • public final class LogSettings
    extends java.lang.Object
    The log settings, like whether or not to generate it and the file format.
    • Method Detail

      • setInstallLogUninstall

        public void setInstallLogUninstall​(boolean installLogUninstall)
      • getInstallLogUninstall

        public boolean getInstallLogUninstall()
      • setInstallLogEnabled

        public void setInstallLogEnabled​(boolean enabled)
        Whether or not to activate the creation of install logs. Install logs record the actions that the installer executes.

        The default file name for the install log is $PRODUCT_NAME$_Install_MM_DD_YYYY_HH_MM_SS.log (txt) or $PRODUCT_NAME$_Install_MM_DD_YYYY_HH_MM_SS.xml (xml). The installer stores the install log in the location specified by the $INSTALL_LOG_DESTINATION$ variable. By default, this variable points to the install directory (UNINSTALLER_DIR\Logs).

        See Also:
        #setInstallLogFormat(), #setUninstallInstallLog(boolean)
      • getInstallLogEnabled

        public boolean getInstallLogEnabled()
        Whether or not to activate the creation of install logs. Install logs record the actions that the installer executes.

        The default file name for the install log is $PRODUCT_NAME$_Install_MM_DD_YYYY_HH_MM_SS.log (txt) or $PRODUCT_NAME$_Install_MM_DD_YYYY_HH_MM_SS.xml (xml). The installer stores the install log in the location specified by the $INSTALL_LOG_DESTINATION$ variable. By default, this variable points to the install directory (UNINSTALLER_DIR\Logs).

        See Also:
        getInstallLogFormat()
      • setInstallLogFormat

        public void setInstallLogFormat​(InstallLogFormat format)
        The format of the install log file. It can be InstallLogFormat.TEXT_FORMAT (default) or InstallLogFormat.XML_FORMAT
        See Also:
        setInstallLogEnabled(boolean)
      • getInstallLogFormat

        public InstallLogFormat getInstallLogFormat()
        The format of the install log file. It can be InstallLogFormat.TEXT_FORMAT (default) or InstallLogFormat.XML_FORMAT
        See Also:
        getInstallLogEnabled()
      • getLogEnabled

        public boolean getLogEnabled()
      • setLogEnabled

        public void setLogEnabled​(boolean logEnabled)
      • getAddLogEnabled

        public boolean getAddLogEnabled()
        Whether or not to activate the creation of add logs. Add logs record the actions that the installer executes Add phase of MaintenanceMode.

        The default file name for the add log is $PRODUCT_NAME$_Add_MM_DD_YYYY_HH_MM_SS.log (txt) or $PRODUCT_NAME$_Add_MM_DD_YYYY_HH_MM_SS.xml (xml).

        See Also:
        getInstallLogFormat()
      • setAddLogEnabled

        public void setAddLogEnabled​(boolean addLogEnabled)
      • getRepairLogEnabled

        public boolean getRepairLogEnabled()
      • setRepairLogEnabled

        public void setRepairLogEnabled​(boolean repairLogEnabled)
      • getRemoveLogEnabled

        public boolean getRemoveLogEnabled()
      • setRemoveLogEnabled

        public void setRemoveLogEnabled​(boolean removeLogEnabled)
      • getUninstallLogEnabled

        public boolean getUninstallLogEnabled()
      • setUninstallLogEnabled

        public void setUninstallLogEnabled​(boolean uninstallLogEnabled)
      • getUninstallAllLogsEnabled

        public boolean getUninstallAllLogsEnabled()
      • setUninstallAllLogsEnabled

        public void setUninstallAllLogsEnabled​(boolean uninstallAllLogsEnabled)
      • getStdErrEnabled

        public boolean getStdErrEnabled()
      • setStdErrEnabled

        public void setStdErrEnabled​(boolean stdErrEnabled)
      • getInstallLogPath

        public java.lang.String getInstallLogPath()
      • setInstallLogPath

        public void setInstallLogPath​(java.lang.String installLogPath)
      • getAddLogPath

        public java.lang.String getAddLogPath()
      • setAddLogPath

        public void setAddLogPath​(java.lang.String addLogPath)
      • getRepairLogPath

        public java.lang.String getRepairLogPath()
      • setRepairLogPath

        public void setRepairLogPath​(java.lang.String repairLogPath)
      • getRemoveLogPath

        public java.lang.String getRemoveLogPath()
      • setRemoveLogPath

        public void setRemoveLogPath​(java.lang.String removeLogPath)
      • getUninstallLogPath

        public java.lang.String getUninstallLogPath()
      • setUninstallLogPath

        public void setUninstallLogPath​(java.lang.String uninstallLogPath)
      • isIncludeTimestamp

        public boolean isIncludeTimestamp()
      • setIncludeTimestamp

        public void setIncludeTimestamp​(boolean includeTimestamp)