10.4 Logs
The MicroTx Distributed Transactions coordinator and the MicroTx Distributed Transactions client libraries for Java, Spring Boot, Node.js, and Python generate logs.
To view the logs emitted by MicroTx Distributed Transactions in a Kubernetes cluster, you can set up the Elasticsearch, Fluentd or Fluent bit, and Kibana (EFK), Elasticsearch, LogStash, and Kibana (ELK) stack, or any other application to aggregate and view the log files of MicroTx Distributed Transactions coordinator and applications at a single place.
- Define the Syntax of Log Messages
Specify the details that you want to record in the logs and the syntax of the log messages. - Sample Log Messages
View example log messages and their syntax. - Enable Logs for MicroTx Distributed Transactions Node.js Library
By default, logging is enabled for the MicroTx Distributed Transactions Coordinator and Java applications that use the MicroTx Distributed Transactions client library. However, for Node.js applications that use the MicroTx Distributed Transactions client libraries, you must enable logging.
Parent topic: Monitor and Trace Transactions