Default log to stderr

This commit is contained in:
obscuren 2015-04-08 22:18:16 +02:00
parent 2e2860e4df
commit 6e2f78ebdd
2 changed files with 2 additions and 2 deletions

View File

@ -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))

View File

@ -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
}