add warning for bin log

This commit is contained in:
siddontang 2014-09-18 21:54:33 +08:00
parent 0a72481eb0
commit ee59af0062
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@ func Open(cfg *config.Config) (*Ledis, error) {
l.ldb = ldb
if cfg.BinLog.MaxFileNum > 0 && cfg.BinLog.MaxFileSize > 0 {
println("binlog will be refactored later, use your own risk!!!")
l.binlog, err = NewBinLog(cfg)
if err != nil {
return nil, err