34.8 Log File Switches

The following switches control how the GWIA uses the log file. The log file keeps a record of all GWIA activity. See Using GWIA Log Files.

34.8.1 --liveLogging

This boolean switch turns on live logging of GWIA events, which you can view in the current GWIA log. In order to not compromise disk storage and system performance, it should only be used for brief troubleshooting if you do no want log data to be buffered. Once you are done troubleshooting, you need to turn off live logging from the GWIA console. For information, see Configuring GWIA Log Settings and Switches.

Linux POA

Windows POA

Syntax:

‑‑liveLogging

/liveLogging

Example:

‑‑liveLogging

/liveLogging

34.8.2 --log

The default location for GWIA log files varies by platform:

Linux:

/var/log/novell/groupwise/domain_name.gwia

Windows

domain\wpgate\gwia\000.prc

The log files are named after the month, day, and log number for that date (mmddgwia.nn).You can use the ‑‑log switch to redirect the log files to a different location.

Syntax: --log-log_file_folder

Linux Example: --log /opt/novell/groupwise/agents/log

Windows Example: --log-c:\log\gwia

34.8.3 --logdays

Specifies how many days to keep GWIA log files on disk. The default log file age is 30 days. The valid range is from 1 to 350 days.

Syntax: --logdays days

Example: --logdays 5

34.8.4 --loglevel

Defines the amount of information to record in log files.

The values are:

  • Diagnostic

  • Verbose

  • Normal (Default)

  • Off

Syntax: --loglevel level

Example: --loglevel verbose

34.8.5 --logmax

Controls the maximum amount of disk space for all log files. The amount of disk space each log file consumes is added together to determine the total amount of disk space used. When the limit is reached, the GWIA deletes the existing log files, starting with the oldest one. The default is 102400 (100 MB). The maximum allowable setting is 102400000 (1 GB). Specify 0 (zero) for unlimited disk space.

Syntax: --logmax KB

Example: --logmax 512