Get-CacheLogsList
This enables the user to get all the log-files in NCache logs-files directory or the log-file of a specific cache. If no cache is specified, all log files on the cache server are displayed. For the Partition-Replica topology, the logs of replica are also displayed.
Note
This feature is also available in the NCache Community Edition.
Get-CacheLogsList [-CacheName] -Server
Examples
- This command gets the log-files of demoCache from the specified server.
Get-CacheLogsList -Server 20.200.20.11 -CacheName demoCache
- This command gets all the log-files from the specified server.
Get-CacheLogsList -Server 20.200.20.11
Properties
Note
The parameters with asterisk (*) on their names are the required parameters and the rest are optional.
Parameters | Data Types | Description | Default Value |
---|---|---|---|
-CacheName |
<String> |
Specifies the name of the cache for the list of logs need to be displayed. | - |
-Server* |
<String> |
Specifies the server address where the log files are residing. | - |