|
|
|
@ -19,9 +19,9 @@ import (
|
|
|
|
|
"github.com/openimsdk/tools/db/redisutil"
|
|
|
|
|
"github.com/openimsdk/tools/mq/kafka"
|
|
|
|
|
"github.com/openimsdk/tools/s3/cos"
|
|
|
|
|
"github.com/openimsdk/tools/s3/kodo"
|
|
|
|
|
"github.com/openimsdk/tools/s3/minio"
|
|
|
|
|
"github.com/openimsdk/tools/s3/oss"
|
|
|
|
|
"github.com/openimsdk/tools/s3/kodo"
|
|
|
|
|
"strings"
|
|
|
|
|
"time"
|
|
|
|
|
)
|
|
|
|
@ -44,11 +44,8 @@ type LocalCache struct {
|
|
|
|
|
type Log struct {
|
|
|
|
|
StorageLocation string `mapstructure:"storageLocation"`
|
|
|
|
|
RotationTime uint `mapstructure:"rotationTime"`
|
|
|
|
|
RemainRotationCount uint `mapstructure:"remainRotationCount"`
|
|
|
|
|
RemainLogLevel int `mapstructure:"remainLogLevel"`
|
|
|
|
|
MaxSize int `mapstructure:"maxSize"`
|
|
|
|
|
MaxBackups int `mapstructure:"maxBackups"`
|
|
|
|
|
MaxAge int `mapstructure:"maxAge"`
|
|
|
|
|
Compress bool `mapstructure:"compress"`
|
|
|
|
|
IsStdout bool `mapstructure:"isStdout"`
|
|
|
|
|
IsJson bool `mapstructure:"isJson"`
|
|
|
|
|
WithStack bool `mapstructure:"withStack"`
|
|
|
|
|