good morning!!!!

Skip to content
Snippets Groups Projects
Commit 6e2f78eb authored by Jeffrey Wilcke's avatar Jeffrey Wilcke
Browse files

Default log to stderr

parent 2e2860e4
No related branches found
No related tags found
No related merge requests found
......@@ -231,7 +231,8 @@ func MakeEthConfig(clientID, version string, ctx *cli.Context) *eth.Config {
// Set verbosity on glog
glog.SetV(ctx.GlobalInt(LogLevelFlag.Name))
// Set the log type
glog.SetToStderr(ctx.GlobalBool(LogToStdErrFlag.Name))
//glog.SetToStderr(ctx.GlobalBool(LogToStdErrFlag.Name))
glog.SetToStderr(true)
// Set the log dir
glog.SetLogDir(ctx.GlobalString(LogFileFlag.Name))
......
......@@ -122,7 +122,6 @@ func (self *TxPool) add(tx *types.Transaction) error {
}
err := self.ValidateTransaction(tx)
if err != nil {
self.invalidHashes.Add(tx.Hash())
return err
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment