Logging properties

The properties for the fortify-sca.properties file in the following table apply to log files.

Property name Description

com.fortify.sca.
LogFile

Specifies the default log file name and location.

Value type: String (path)

Default:${com.fortify.sca.ProjectRoot}/log/sca.logand ${com.fortify.sca.ProjectRoot}/log/sca_FortifySupport.log

Command-line option: -logfile

com.fortify.sca.
LogLevel

Specifies the minimum log level for both log files. The valid values are DEBUG, INFO, WARN, ERROR, and FATAL. For more information, see Locating the log files and Configuring log files.

Value type: String

Default: INFO

com.fortify.sca.
ClobberLogFile

If set to true, OpenText SAST overwrites the log file for each run of sourceanalyzer.

Value type: Boolean

Default: false

Command-line option: -clobber-log

com.fortify.sca.
PrintPerformanceDataAfterScan

If set to true, OpenText SAST writes performance-related data to the OpenText SAST Support log file after the scan is complete. This value is automatically set to true when in debug mode.

Value type: Boolean

Default: false

See also

Configuring log files