-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Summary
Add a config for kucd to logger.
Log in Kuchain
In kuchain, we complete the log implementation based on zap.The current version only provides the most basic log writing function. It is not possible to enable users to flexibly manage logs based on configuration, so we will improve the log configuration of kuchain.
There are two level for logger, first is interface for cosmos-sdk, it define log meta-data, and second is the zap logger, it define the log behavior, like file path, log file size limit, log rotation etc. we will add some config for the log behavior.
Log Configuration
The log config will define this behavior:
- kucd params for log path
- log rotation by gopkg.in/natefinch/lumberjack.v2
- pure log module for 3rd tools
- panic log format
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request