Fix log spec
parent
b09a1ec756
commit
9360ca1aae
|
@ -76,11 +76,13 @@ services:
|
|||
volumes:
|
||||
- ./crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp:/etc/hyperledger/fabric/msp
|
||||
- ./crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls:/etc/hyperledger/fabric/tls
|
||||
#- $GOPATH/src/github.com/hyperledger/fabric:/go/src/github.com/hyperledger/fabric
|
||||
ports:
|
||||
- "7051:7051"
|
||||
- "7052:7052"
|
||||
- "7053:7053"
|
||||
- "9443:9443"
|
||||
#command: /go/src/github.com/hyperledger/fabric/peer/peer node start
|
||||
|
||||
peer1.org1.example.com:
|
||||
extends:
|
||||
|
|
|
@ -66,7 +66,7 @@ services:
|
|||
network_mode: ${NETWORK}
|
||||
environment:
|
||||
- FABRIC_LOGGING_SPEC=INFO
|
||||
- FABRIC_LOGGING_FORMAT=%{color}[%{id:03x} %{time:01-02 15:04:05.00 MST}] [%{longpkg}] %{callpath} -> %{level:.4s}%{color:reset} %{message}
|
||||
- FABRIC_LOGGING_FORMAT=%{color}[%{id:03x} %{time:01-02 15:04:05.00 MST}] [%{module}] %{shortfunc} -> %{level:.4s} %{id:03x}%{color:reset} %{message}
|
||||
- CORE_PEER_ADDRESSAUTODETECT=false
|
||||
- CORE_VM_DOCKER_HOSTCONFIG_NETWORKMODE=${NETWORK} # uncomment this to use specific network
|
||||
- CORE_PEER_GOSSIP_USELEADERELECTION=true
|
||||
|
@ -80,7 +80,7 @@ services:
|
|||
- CORE_PEER_TLS_KEY_FILE=/etc/hyperledger/fabric/tls/server.key
|
||||
- CORE_PEER_TLS_ROOTCERT_FILE=/etc/hyperledger/fabric/tls/ca.crt
|
||||
- CORE_CHIANCODE_LOGGING_LEVEL=DEBUG
|
||||
- CORE_CHIANCODE_LOGGING_FORMAT=%{color}[%{id:03x} %{time:01-02 15:04:05.00 MST}] [%{longpkg}] %{callpath} -> %{level:.4s}%{color:reset} %{message}
|
||||
- CORE_CHIANCODE_LOGGING_FORMAT=%{color}[%{id:03x} %{time:01-02 15:04:05.00 MST}] [%{module}] %{shortfunc} -> %{level:.4s} %{id:03x}%{color:reset} %{message}
|
||||
volumes:
|
||||
#- $GOPATH/src/github.com/hyperledger/fabric:/go/src/github.com/hyperledger/fabric
|
||||
# docker.sock is mapped as the default CORE_VM_ENDPOINT
|
||||
|
|
Loading…
Reference in New Issue