The -log parameter group specifies whether transfers are to be activated synchronously or asynchronously, and what level of logging is required.
This syntax has the following format:
dtscli -log interval=interval level=level mode=append|replace monitor=y|n path=path
Note: The -log operand can be abbreviated as -l.
Specifies the percentage interval at which progress messages are logged when monitoring a transfer.
Default: 10
Example: To specify that a message is written to the console each time 10 percent of the transfer completes, enter the following command:
dtscli ... -l interval=10
After the transfer is activated, the cumulative system response after the transfer is 30 percent complete appears:
transfer 457 activated ...
10% complete ... 20% complete ... 30% complete ...
Specifies the logging level. Valid values are as follows:
Specifies that object creation and deletion messages are not logged at this level.
Default: 1
Specifies the logging mode. Valid values are as follows:
Appends logging messages to the existing file.
Replaces the existing log file.
Default: append
Specifies whether the progress of the transfers should be monitored or not. Valid values are y (yes) and n (no). If y, a transfer is monitored and the progress of the transfer is written to the console. Consequently, no commands can be entered on the command line until the transfer completes or fails.
Default: y
Specifies the location of the file to which log messages should be written. If you enter a path name, enclose it in quotation marks, for example:
dtscli -l path="c:\logs\080100.log"
If you enter the standard output path (stdout), the output is displayed on the console unless you have specified another location in your shell.
Default: stdout
|
Copyright © 2013 CA.
All rights reserved.
|
|