Skip to content

Commit

Permalink
Remove sim sysout logs (#2139)
Browse files Browse the repository at this point in the history
switch sysout log level to 1 for easier to read build outputs
  • Loading branch information
badgersrus authored Nov 12, 2024
1 parent 7f88ff5 commit 561c444
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
4 changes: 2 additions & 2 deletions go/config/defaults/0-base-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ host:
blobArchiveURL: "" # URL for L1 blob archive service
rpcTimeout: 15s
log:
level: 4
level: 1
path: sys_out # path to log file, will log to stdout when empty
p2p:
disableP2P: false
Expand All @@ -84,7 +84,7 @@ enclave:
enableBlockValidation: false
#genesisJSON: # json string of L1 genesis block, used for expectation todo: still needed?
log:
level: 4
level: 1
path: sys_out
rpc:
bindAddress: "0.0.0.0:11000"
Expand Down
8 changes: 7 additions & 1 deletion go/config/defaults/sim/1-env-sim.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
host:
debug:
enableDebugNamespace: true
log:
level: 1
path: ""
enclave:
debug:
enableDebugNamespace: true
enableDebugNamespace: true
log:
level: 1
path: ""
4 changes: 2 additions & 2 deletions integration/simulation/network/socket.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ func (n *networkOfSocketNodes) Create(simParams *params.SimParams, _ *stats.Stat
tenCfg.Host.Enclave.RPCAddresses = []string{fmt.Sprintf("127.0.0.1:%d", simParams.StartPort+integration.DefaultEnclaveOffset+i)}
tenCfg.Host.L1.WebsocketURL = fmt.Sprintf("ws://127.0.0.1:%d", simParams.StartPort+100)
tenCfg.Host.L1.L1BeaconUrl = beaconURL
tenCfg.Host.Log.Level = 4
tenCfg.Enclave.Log.Level = 4
tenCfg.Host.Log.Level = 1
tenCfg.Enclave.Log.Level = 1
tenCfg.Enclave.RPC.BindAddress = fmt.Sprintf("127.0.0.1:%d", simParams.StartPort+integration.DefaultEnclaveOffset+i)

// create the nodes
Expand Down

0 comments on commit 561c444

Please sign in to comment.