Logfile Parameter (Connect-IBMCloudSQLQuery Cmdlet)
A filepath which designates the name and location of the log file.
Connect-IBMCloudSQLQuery -Logfile string
Once this property is set, the cmdlet will populate the log file as it carries out various tasks, such as when authentication is performed or queries are executed. If the specified file doesn't already exist, it will be created.
Connection strings and version information are also logged, though connection properties containing sensitive information are masked automatically.
If a relative filepath is supplied, the location of the log file will be resolved based on the path found in the Location connection property.
For more control over what is written to the log file, you can adjust the Verbosity property.