The -log parameter group specifies whether to activate transfers synchronously or asynchronously, and the level of logging required.
Syntax 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: Specify that a message is written to the console each time 10 percent of the transfer completes:
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 to monitor the progress of the transfers. 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. 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 are 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 © 2014 CA Technologies.
All rights reserved.
|
|