38.2 Using DVA Log Files

Error messages and other information about DVA functioning are written to log files as well as displaying on the DVA server console (Windows only). Log files can provide a wealth of information for resolving problems with DVA functioning. Logging is enabled by default.

38.2.1 Locating DVA Log Files

The default location of the DVA log files varies by platform:

Linux:

/var/log/Novell/groupwise/gwdva

Windows:

c:\ProgramData\Novell\GroupWise\gwdva\log

NOTE:On some versions of Windows Server, the ProgramData folder is not visible by default. To display it in File Explorer, click View, and then select Hidden items.

You can change the location where the DVA creates its log files. For more information, see Configuring DVA Log Settings.

38.2.2 Configuring DVA Log Settings

  1. Open the DVA file in a text editor.

  2. Search to find the Log Switches section.

  3. Adjust the following log settings as needed:

    --loglevel: There are three log levels:

    • Normal (default) Displays warnings and errors.

    • Verbose: Displays the Normal log level information, plus information messages and user requests.

    • Diagnostic: Displays all possible information. Use Diagnostic only if you are troubleshooting a problem with the DVA.

      The Verbose and Diagnostic log levels do not degrade DVA performance, but log files consume more disk space when Verbose or Diagnostic logging is in use.

    --log: For the default location of DVA log files, see Locating DVA Log Files. Specify a different location for DVA log files as needed.

    --logdays: Specify the number of days you want to retain the log files. The DVA retains log files for the specified number of days unless the maximum disk space for the log files is exceeded. The default age is 30 days.

    --logmax: Specify the maximum amount of disk space you want to use for DVA log files. If the disk space limit is exceeded, the DVA deletes log files, beginning with the oldest file, until the limit is no longer exceeded. The default disk space is 102400 KB (100 MB).

  4. Save the DVA file.

  5. Skip to Putting DVA Configuration Changes into Effect.

38.2.3 Viewing DVA Log Files

For the default location of the DVA log files, see Locating DVA Log Files

When logging is turned on, the DVA creates a new log file each day and each time it is restarted. Therefore, you find multiple log files in the log file folder. The first four characters represent the date (mmdd). The next three characters identify the agent (dva). A three-digit extension allows for multiple log files created on the same day. For example, a log file named 0518dva.001 indicates that it is a DVA log file created on May 18.

For convenience, you can view DVA log files in the DVA console.

38.2.4 Interpreting DVA Log File Information

On startup, the DVA records the DVA settings currently in effect. Thereafter, it logs events that take place, including errors.

Because the DVA consists of multiple processes, you might find it useful to retrieve the log file into an editor and sort it on the thread ID that follows the date and time information. Sorting groups all messages together for the same DVA thread. You can also use the search capability of the DVA web console to gather information about events that contain a specific string.