hagroup halog

Configure the HA log.

Syntax

hagroup halog {-disable | -enable | -maxlength <max_file_length> | -path <filepath> | -show}

Argument(s) Shortcut Description
-disable -d Disable HA logging.
-enable -e Enable HA logging.
-maxlength <max_file_length> -m Set the maximum length for the HA log file. The default and minimum size is 262144 bytes.
-path <filepath> -p Set the location for the HA log file. You must enclose the path specification in quotes if it contains spaces.
-show -s Display the HA log configuration.

Example

lunacm:> hagroup halog -maxlength 500000


        HA Log maximum file size was successfully set to 500000.

Command Result : No Error



lunacm:> hagroup halog -path "c:\Program Files\SafeNet\LunaClient\halog"


        HA Log path successfully set to c:\Program Files\SafeNet\LunaClient\halog.


Command Result : No Error



lunacm:> hagroup halog -enable


        HA Log was successfully enabled.

Command Result : No Error




lunacm:> hagroup halog -show

         HA Log: enabled
       Log File: c:\Program Files\SafeNet\LunaClient\halog\haErrorLog.txt
Max File Length: 500000 bytes


Command Result : No Error



lunacm:> hagroup halog -disable

        HA Log was successfully disabled.

Command Result : No Error