Try Playground
Show / Hide Table of Contents

Cache Server Logging

Another feature provided by NCache is logging different states of clustered, client, and bridge caches into different log files. These log files are created whenever the cache starts and are locked until the cache changes its status to stop or whenever the service stops. Log files encapsulate different levels of information based on logging status.

NCache creates each log file for a particular cache with a different time span. This time initializes as the cache starts and continues until cache status changes from running to stopped. NCache writes log file with a default format that gives the user a readable format. It also logs the thread name whenever an operation is performed by any running thread. NCache presents different stages of logging.

Cache Server Logging Levels

These logging levels are configurable and are described as follows:

  • INFO Level: The Info level describes some useful information about any operation performed on cache, such as log starting and stopping state of state transfer operations. Info level is disabled by default.

  • ERROR Level: This log flag gives the cause of errors that are raised during operation execution. This status log is useful in most troubleshooting scenarios such as during the start of cache exception which occurs for joining with its own replica.

  • CRITICAL Level: This flag logs the critical status of any action or operation on the cache, such as, “Cache exceeds its memory limits”. This log information is useful to optimize cache performance and is the highest priority log among all log-file information.

  • Detail DEBUG Level: This flag is disabled by default but the user can configure it. This log option prints detailed information about any operations in the cache such as information about each operation like key, and cache items, during state transfer. This log information is useful to analyze cache issues in detail whenever normal debugging is not possible. But this causes performance degradation for cache operations.

NCache also provides logging for client applications and socket level configuration options. These options are disabled by default, but they can be enabled by changing the settings of the app/web files. These logs are created within the default location, i.e., where NCache logs reside. These logs contain information on client operations along with the operation data usage that propagates through the socket server to communicate with a remote server.

See Also

NCache Log Viewer
Performance Counters Logging
Email Notifications on NCache Events

In This Article
  • Cache Server Logging Levels
  • See Also

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