commit
778d0728fb
|
@ -38,7 +38,7 @@ func NewDevEngine(path string, walPath string, opt tsdb.EngineOptions) tsdb.Engi
|
||||||
|
|
||||||
e := &DevEngine{
|
e := &DevEngine{
|
||||||
path: path,
|
path: path,
|
||||||
logger: log.New(os.Stderr, "[tsm1] ", log.LstdFlags),
|
logger: log.New(os.Stderr, "[tsm1dev] ", log.LstdFlags),
|
||||||
|
|
||||||
WAL: w,
|
WAL: w,
|
||||||
RotateFileSize: DefaultRotateFileSize,
|
RotateFileSize: DefaultRotateFileSize,
|
||||||
|
|
|
@ -70,7 +70,7 @@ func NewWAL(path string) *WAL {
|
||||||
// these options should be overriden by any options in the config
|
// these options should be overriden by any options in the config
|
||||||
LogOutput: os.Stderr,
|
LogOutput: os.Stderr,
|
||||||
SegmentSize: DefaultSegmentSize,
|
SegmentSize: DefaultSegmentSize,
|
||||||
logger: log.New(os.Stderr, "[tsm1wal] ", log.LstdFlags),
|
logger: log.New(os.Stderr, "[tsm1devwal] ", log.LstdFlags),
|
||||||
closing: make(chan struct{}),
|
closing: make(chan struct{}),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue