hyperledger / hyperledger/fabric-docs-i18n

[ja_JP] Operations Guides / Logging Control

Open
#871 0 comments 0 reactions 0 assignees View on GitHub
jaJP-docs-ongoing
Dominant language
Makefile
Stars
96
Forks
180
PR merge metrics
No merged PRs in 30d

Description

Original HTML: https://hyperledger-fabric.readthedocs.io/en/release-2.5/logging-control.html
Original Source: https://github.com/hyperledger/fabric/blob/e1e8e2e52aa4fc543360d245fe6554a0eaf81183/docs/source/logging-control.rst

````diff
diff --git a/docs/source/logging-control.rst b/docs/source/logging-control.rst
index 03af6f4c5..b1e6fdc1b 100644
--- a/docs/source/logging-control.rst
+++ b/docs/source/logging-control.rst
@@ -35,7 +35,7 @@ generating logs.
2018-11-01 15:32:38.357 UTC [peer] func1 -> INFO 007 Returning peer0.org1.example.com:7051

An arbitrary number of loggers can be created at runtime, therefore there is
-no "master list" of loggers, and logging control constructs can not check
+no "global list" of loggers, and logging control constructs can not check
whether logging loggers actually do or will exist.

Logging specification
@@ -94,6 +94,41 @@ a format string, such as the default
to print the logs in a human-readable console format. It can be also set to
``json`` to output logs in JSON format.

+Typical debug levels
+--------------------
+
+This section provides some typical log levels to debug various areas of a peer node or ordering service node by setting the ``FABRIC_LOGGING_SPEC`` environment variable.
+
+Peer smart contract debug:
+
+::
+
+ FABRIC_LOGGING_SPEC=info:dockercontroller,endorser,chaincode,chaincode.platform=debug
+
+Peer private data debug:
+
+::
+
+ FABRIC_LOGGING_SPEC=info:kvledger,ledgerstorage,transientstore,pvtdatastorage,gossip.privdata=debug
+
+Peer ledger and state database debug:
+
+::
+
+ FABRIC_LOGGING_SPEC=info:kvledger,lockbasedtxmgr,ledgerstorage,stateleveldb,statecouchdb,couchdb=debug
+
+Peer full debug, with the noisy components set to info:
+
+::
+
+ FABRIC_LOGGING_SPEC=debug:cauthdsl,policies,msp,grpc,peer.gossip.mcs,gossip,leveldbhelper=info
+
+Ordering node full debug, with the noisy components set to info:
+
+::
+
+ FABRIC_LOGGING_SPEC=debug:cauthdsl,policies,msp,grpc,orderer.consensus.etcdraft,orderer.common.cluster,orderer.common.cluster.step,common.configtx,blkstorage=info
+

Chaincode
---------

````

Contributor guide

No contributing guide indexed for this repository

Research direction

Use docs/source/logging-control.rst and the linked release-2.5 page as the source of truth; find the ja_JP logging-control guide in this repository and compare it with the shown diff. Update the renamed wording and Typical debug levels section, then verify the Japanese documentation build or rendered page.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.