Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

json-rpc flooding debug messages #277

Closed
nebkas opened this issue Dec 23, 2021 · 2 comments
Closed

json-rpc flooding debug messages #277

nebkas opened this issue Dec 23, 2021 · 2 comments

Comments

@nebkas
Copy link
Contributor

nebkas commented Dec 23, 2021

I public provide some json-rpc endpoints and I'm getting flooded with debug messages like:

cronosd[44300]: t=2021-12-23T18:43:13+0100 **lvl=dbug** msg="Served eth_getTransactionReceipt" conn=xxx.xxx.xxx.xxx:35500 reqid=126253 t=2.105339ms

As you can see under the "api" settings 'debug' is not activated but it seems that cronosd ignores this.

# Enable defines if the gRPC server should be enabled.
enable = true

# Address defines the EVM RPC HTTP server address to bind to.
address = "xxx.xxx.xxx.xxx:8545"

# Address defines the EVM WebSocket server address to bind to.
ws-address = "0.0.0.0:8546"

# API defines a list of JSON-RPC namespaces that should be enabled
# Example: "**eth,txpool,personal,net,debug,web3**"
api = **"eth,net,web3**"
@yihuang
Copy link
Collaborator

yihuang commented Dec 29, 2021

evmos/ethermint#862

@yihuang
Copy link
Collaborator

yihuang commented Mar 9, 2022

The fix is included in Cronos now: evmos/ethermint#948.
The RPC access log is redirected to tendermint logger under the debug log level, so it don't display under the default info log level.

@yihuang yihuang closed this as completed Mar 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants