Skip to content

Commit

Permalink
FAB-8564 align docs with log level of sample
Browse files Browse the repository at this point in the history
FAB-8564 against fabric-samples changed the default
logging level to INFO. Add note to request user to
change this to DEBUG for purposes of manual tutorial
to align doc with expected output.

Change-Id: Ia0abc6d810e69991666e65764aa8d570bea44129
Signed-off-by: Christopher Ferris <chrisfer@us.ibm.com>
  • Loading branch information
christo4ferris committed Feb 28, 2018
1 parent 2f401c6 commit 38cf62e
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 5 deletions.
24 changes: 19 additions & 5 deletions docs/source/build_network.rst
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ Respond with a ``y`` or hit the return key:
.. code:: bash
Starting with channel 'mychannel' and CLI timeout of '10'
Continue? [Y/n]
Continue? [Y/n]
proceeding ...
Creating network "net_byfn" with the default driver
Creating peer0.org1.example.com
Expand All @@ -196,10 +196,6 @@ completion, it should report the following in your terminal window:

.. code:: bash
2017-05-16 17:08:01.366 UTC [msp] GetLocalMSP -> DEBU 004 Returning existing local MSP
2017-05-16 17:08:01.366 UTC [msp] GetDefaultSigningIdentity -> DEBU 005 Obtaining default signing identity
2017-05-16 17:08:01.366 UTC [msp/identity] Sign -> DEBU 006 Sign: plaintext: 0AB1070A6708031A0C08F1E3ECC80510...6D7963631A0A0A0571756572790A0161
2017-05-16 17:08:01.367 UTC [msp/identity] Sign -> DEBU 007 Sign: digest: E61DB37F4E8B0D32C9FE10E3936BA9B8CD278FAA1F3320B08712164248285C54
Query Result: 90
2017-05-16 17:08:15.158 UTC [main] main -> INFO 008 Exiting.....
===================== Query on peer1.org2 on channel 'mychannel' is successful =====================
Expand Down Expand Up @@ -248,6 +244,24 @@ If you'd like to learn more about the underlying tooling and bootstrap mechanics
continue reading. In these next sections we'll walk through the various steps
and requirements to build a fully-functional Hyperledger Fabric network.

.. note:: The manual steps outlined below assume that the ``CORE_LOGGING_LEVEL`` in
the CLI container is set to ``DEBUG``. You can set this by modifying
the ``docker-compose-cli.yaml`` file in the ``first-network`` directory.
e.g.

.. code::
cli:
container_name: cli
image: hyperledger/fabric-tools:$IMAGE_TAG
tty: true
stdin_open: true
environment:
- GOPATH=/opt/gopath
- CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock
- CORE_LOGGING_LEVEL=DEBUG
#- CORE_LOGGING_LEVEL=INFO
Crypto Generator
----------------

Expand Down
18 changes: 18 additions & 0 deletions docs/source/channel_update_tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,24 @@ show you each command for making a channel update and what it does.
Bring Org3 into the Channel Manually
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. note:: The manual steps outlined below assume that the ``CORE_LOGGING_LEVEL`` in
the CLI container is set to ``DEBUG``. You can set this by modifying
the ``docker-compose-org3.yaml`` file in the ``first-network`` directory.
e.g.

.. code::
Org3cli:
container_name: Org3cli
image: hyperledger/fabric-tools:$IMAGE_TAG
tty: true
stdin_open: true
environment:
- GOPATH=/opt/gopath
- CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock
#- CORE_LOGGING_LEVEL=INFO
- CORE_LOGGING_LEVEL=DEBUG

If you've used the ``eyfn.sh`` script, you'll need to bring your network down.
This can be done by issuing:

Expand Down

0 comments on commit 38cf62e

Please sign in to comment.