Open topic with navigation
Filtering the log file with LogViewer
You can filter the Double-Take log file through the Double-Take LogViewer utility. From a command prompt, use the LogViewer
command from the directory where Double-Take is installed. Press Ctrl-C to exit back to the command prompt.
Command
LOGVIEWER
Description
The Double-Take logging utility that filtersDouble-Take log files
Syntax
LOGVIEWER [-PATH <path>] [-TYPE <number>] [-INCLUDE <list>]
[-EXCLUDE <list>] [-NODATE] [-NOTIME] [-NOPID] [-NOTID]
[-NOSEQ] [-NOTYPE] [-NOID] [-HELP]
Options
- PATH path—Specify the full path to the log file
- TYPE number—Allows you to filter the messages that are displayed. Specify
1 to display warning and error messages or specify 2 to display warnings,
errors, and information messages.
- INCLUDE—Only includes specified IDs. All other IDs will not be displayed in
the output
- EXCLUDE—Excludes specified IDs. Ignore the specified IDs and display all
others
- list—A comma-separated list of IDs or ID ranges that follows the INCLUDE
and EXCLUDE switches. A space should separate the switch from the list but
within the list, there should be no spaces. Ranges are specified with a begin
and end number and separated with a dash (-).
- NODATE—Does not display the date in the output
- NOTIME—Does not display the time in the output
- NOPID—Does not display the process ID in the output
- NOTID—Does not display the thread ID in the output
- NOSEQ—Does not display the sequence number in the output
- NOTYPE—Does not display the message type number in the output
- NOID—Does not display the LogViewer ID in the output
- HELP—Displays the command options
Examples
- LogViewer -type 2
- LogViewer -include 200,400-500,10000-15000
Notes
The default setting is -type 2 which displays both type 1 and 2 messages.
Related Topics