Skip to content

Latest commit

 

History

History
39 lines (21 loc) · 662 Bytes

rpc_logging.rst

File metadata and controls

39 lines (21 loc) · 662 Bytes

RPC (API) Logging

How to enable RPC Logging in Graphene

You can enable it by appending the below lines into config.ini

# declare an appender named "rpc" that writes messages to rpc.log
[log.file_appender.rpc]
filename=logs/rpc/rpc.log
# filename can be absolute or relative to this config file

# route messages sent to the "rpc" logger to the rpc appender declared above
[logger.rpc]
level=debug
appenders=rpc

About Log level:

  • level=error : logs errors
  • level=warn : logs requests
  • level=info : logs responses