Try Playground
Show / Hide Table of Contents

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.

  • Windows PowerShell
  • Linux CLI
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. -
invoke-serverlogger [-enable] [-disable] [-nologo] [-port] [-server] [-userid] [-password]

Examples of Invoke-ServerLogger

  • This command 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. -
-userid <String> Specifies the user id used to authorize the user for this operation. It is required in case security is enabled on Cache Server. This user id must be the active directory. -
-password <String> Specifies the password of the user that is used to authorize the user for this operation. It is required in case security is enabled on Cache Server. This password must be the same as the active directory user password. -
In This Article
  • Examples of Invoke-ServerLogger - PowerShell Cmdlet
  • Properties
  • Examples of Invoke-ServerLogger
  • Properties

Contact Us

PHONE

+1 (214) 764-6933   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • NCache Enterprise
  • NCache Professional
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
© Copyright Alachisoft 2002 - 2025. All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top