@ -129,7 +129,7 @@ func main() {
}
// Setup a logger to stdout and log file.
logFileName := fmt.Sprintf("./%v/%s-%v.log", *logFolder, role, *port)
logFileName := fmt.Sprintf("./%v/%s-%v-%v.log", *logFolder, role, *ip, *port)
h := log.MultiHandler(
log.StdoutHandler,
log.Must.FileHandler(logFileName, log.LogfmtFormat()), // Log to file
@ -255,7 +255,7 @@ func main() {
// TODO(Richard): refactor this chuck to a single method
logFileName := fmt.Sprintf("./%v/tx-generator.log", *logFolder)
logFileName := fmt.Sprintf("./%v/txgen.log", *logFolder)