Invoke-ServerLogger - PowerShell Cmdlet
This PowerShell Cmdlet enables the user to enable detailed logging for both socket-server and all the clients. The logs are then stored on the installed directory of NCache in the folder named log-files as part of this PowerShell Cmdlet execution.
Note
This feature is only available in NCache Enterprise and Professional.
Invoke-ServerLogger [-Enable] [-Disable] [-NoLogo] [-Port] [-Server] [-Credentials]
Examples of Invoke-ServerLogger - PowerShell Cmdlet
- This PowerShell Cmdlet enables socket-server logs.
Invoke-ServerLogger -Enable
- This command disables socket-server logs.
Invoke-ServerLogger -Disable
Properties
Note
The parameters with asterisk (*) on their names are the required parameters and the rest are optional.
Parameters | Data Types | Description | Default Value |
---|---|---|---|
-Enable |
<SwitchParameter> |
Enables error and detailed logging on the server side. | False |
-Disable |
<SwitchParameter> |
Enables error and detailed logging on the server side. | False |
-NoLogo |
<SwitchParameter> |
Suppresses display of the logo banner. | False |
-Port |
<Integer> |
Specifies the server port where NCache server is listening. | 8250 |
-Server |
<String> |
Specifies the NCache server name where the NCache Service is running. | - |
-Credentials |
<pscredential> |
Specifies the user credentials required to authorize access for the specified operation. These credentials should belong to a user who has appropriate permissions at the node. | - |