change debug prefix from raft to [raft]

pull/820/head
Xiang Li 2013-07-28 20:19:02 -07:00
parent 1f39a46046
commit 1352897623
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ var logLevel int = 0
var logger *log.Logger
func init() {
logger = log.New(os.Stdout, "raft", log.Lmicroseconds)
logger = log.New(os.Stdout, "[raft]", log.Lmicroseconds)
}
//------------------------------------------------------------------------------