mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-05 23:13:09 +00:00
Remove log level from the conf because the log level has to be set with the logLevel func
This commit is contained in:
parent
388488e050
commit
65a595c3fe
@ -174,7 +174,6 @@ const (
|
||||
)
|
||||
|
||||
type CodexConfig struct {
|
||||
LogLevel LogLevel `json:"log-level,omitempty"`
|
||||
LogFormat LogFormat `json:"log-format,omitempty"`
|
||||
MetricsEnabled bool `json:"metrics,omitempty"`
|
||||
MetricsAddress string `json:"metrics-address,omitempty"`
|
||||
@ -494,9 +493,7 @@ func (self *CodexNode) CodexSetEventCallback() {
|
||||
}
|
||||
|
||||
func main() {
|
||||
config := CodexConfig{
|
||||
LogLevel: Info,
|
||||
}
|
||||
config := CodexConfig{}
|
||||
|
||||
node, err := CodexNew(config)
|
||||
if err != nil {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user