Module Debug
RPC Module Debug for internal RPC methods.
This module is for KRYVON developers and will not guarantee compatibility. The methods here will be changed or removed without advanced notification.
Method jemalloc_profiling_dump
-
jemalloc_profiling_dump() -
result:
string
Dumps jemalloc memory profiling information into a file.
The file is stored in the server running the KRYVON node.
The RPC returns the path to the dumped file on success or returns an error on failure.
Method update_main_logger
update_main_logger(config)config:MainLoggerConfig
- result:
null
Changes main logger config options while KRYVON is running.
Method set_extra_logger
set_extra_logger(name, config_opt)name:stringconfig_opt:ExtraLoggerConfig|null
- result:
null
Sets logger config options for extra loggers.
KRYVON nodes allow setting up extra loggers. These loggers will have their own log files and they only append logs to their log files.
Params
name- Extra logger nameconfig_opt- Adds a new logger or update an existing logger when this is not null. Removes the logger when this is null.