[logging] change default verbosity to 5 for jenkins test

pull/844/head
Peter Chung 6 years ago
parent d157dd2730
commit d9b8fe57ca
  1. 2
      cmd/bootnode/main.go
  2. 2
      cmd/client/txgen/main.go
  3. 2
      cmd/harmony/main.go

@ -48,7 +48,7 @@ func main() {
logFolder := flag.String("log_folder", "latest", "the folder collecting the logs of this execution") logFolder := flag.String("log_folder", "latest", "the folder collecting the logs of this execution")
keyFile := flag.String("key", "./.bnkey", "the private key file of the bootnode") keyFile := flag.String("key", "./.bnkey", "the private key file of the bootnode")
versionFlag := flag.Bool("version", false, "Output version info") versionFlag := flag.Bool("version", false, "Output version info")
verbosity := flag.Int("verbosity", 3, "Logging verbosity: 0=silent, 1=error, 2=warn, 3=info, 4=debug, 5=detail (default: 3)") verbosity := flag.Int("verbosity", 5, "Logging verbosity: 0=silent, 1=error, 2=warn, 3=info, 4=debug, 5=detail (default: 5)")
flag.Parse() flag.Parse()

@ -69,7 +69,7 @@ var (
// Key file to store the private key // Key file to store the private key
keyFile = flag.String("key", "./.txgenkey", "the private key file of the txgen") keyFile = flag.String("key", "./.txgenkey", "the private key file of the txgen")
// logging verbosity // logging verbosity
verbosity = flag.Int("verbosity", 3, "Logging verbosity: 0=silent, 1=error, 2=warn, 3=info, 4=debug, 5=detail (default: 3)") verbosity = flag.Int("verbosity", 5, "Logging verbosity: 0=silent, 1=error, 2=warn, 3=info, 4=debug, 5=detail (default: 5)")
) )
func setUpTXGen() *node.Node { func setUpTXGen() *node.Node {

@ -108,7 +108,7 @@ var (
myAccount accounts.Account myAccount accounts.Account
myPass = "" myPass = ""
// logging verbosity // logging verbosity
verbosity = flag.Int("verbosity", 3, "Logging verbosity: 0=silent, 1=error, 2=warn, 3=info, 4=debug, 5=detail (default: 3)") verbosity = flag.Int("verbosity", 5, "Logging verbosity: 0=silent, 1=error, 2=warn, 3=info, 4=debug, 5=detail (default: 5)")
) )
func initSetup() { func initSetup() {

Loading…
Cancel
Save