After you install the NSWL client, you can configure the NSWL client using the nswl executable. These configurations are stored in the NSWL client configuration file (log.conf).
The following table describes the commands that you can use to configure the NSWL client.
| NSWL command |
Specifies |
| nswl -help |
The available NSWL help options. |
nswl -addns -f <path-to-configuration-file> |
The system that gathers the log transaction data. You are prompted to enter the IP address of the NetScaler appliance. Enter a valid user name and password. |
nswl -verify -f <path-to-configuration-file> |
Check for syntax or semantic errors in the configuration file. |
nswl -start -f <path-to-configuration-file> |
Start the NSWL client based on the settings in the configuration file. Note: For Solaris and Linux: To start Web server logging as a background process, type the ampersand sign (&) at the end of the command. |
| nswl -stop (Solaris and Linux only) |
Stop the NSWL client if it was started as a background process; otherwise, use CTRL+C to stop Web server logging. |
nswl -install -f <path-to-configuration-file> (Windows only) |
Install the NSWL client as a service in Windows. |
| nswl -startservice (Windows only) |
Start the NSWL client by using the settings in the configuration file specified in the nswl install option. You can also start NSWL client from Start > Control Panel > Services. Note: The NSWL log files are created in C:\Windows\SysWOW64. |
| nswl -stopservice (Windows only) |
Stops the NSWL client. |
| nswl -remove |
Remove the NSWL client service from the registry. |
Run the following commands from the directory in which the NSWL executable is located:
The Web server logging configuration files are located in the following directory path:
The NSWL executable is started as .\nswl in Linux and Solaris.