Commit e954a773 authored by szh's avatar szh

add log clean

parent 3e0cef6c
......@@ -477,7 +477,7 @@ func AutoLogsClean() error {
tlog.Error("AutoLogsClean","err",err)
return err
}
list := strings.Split(buf.String()," ")
list := strings.Split(buf.String(),"\t")
tlog.Info("chain33.out","size",buf.String())
if len(list) >=2 {
if size,err := strconv.Atoi(list[0]);err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment