Remove log level from the conf because the log level has to be set with the logLevel func

This commit is contained in:
Arnaud 2025-09-17 09:08:04 +02:00 committed by Eric
parent 388488e050
commit 65a595c3fe
No known key found for this signature in database

View File

@ -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 {