-o iqsrv15 server option

Prints all database server messages to the database server message log file.

Syntax

iqsrv15 -o filename ...

Applies to

All operating systems and database servers.

This option does not apply to servers in the cloud.

Remarks

Print all database server messages, including informational messages, errors, warnings, and MESSAGE statement output, to the specified file, and to the database server messages window. If you specify the -qi option with -o, all messages appear only in the database server message log file.

It is recommended that you do not end the file name with .log because this can create problems for utilities that perform operations using the transaction log.

To find the name of the database server message log file, run the following statement:

SELECT PROPERTY ( 'ConsoleLogFile' );