mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 11:41:19 +00:00
set default mdbx log level to warning (#1912)
This commit is contained in:
parent
a99d22c313
commit
921c6a53c9
@ -92,7 +92,7 @@ func withDatadir2(cmd *cobra.Command) {
|
||||
must(cmd.MarkFlagDirname(utils.DataDirFlag.Name))
|
||||
must(cmd.MarkFlagRequired(utils.DataDirFlag.Name))
|
||||
cmd.Flags().StringVar(&database, "database", "", "lmdb|mdbx")
|
||||
cmd.Flags().IntVar(&databaseVerbosity, "database.verbosity", -1, "Enabling internal db logs. Very high verbosity levels may require recompile db.")
|
||||
cmd.Flags().IntVar(&databaseVerbosity, "database.verbosity", 2, "Enabling internal db logs. Very high verbosity levels may require recompile db. Default: 2, means warning.")
|
||||
}
|
||||
|
||||
func withDatadir(cmd *cobra.Command) {
|
||||
@ -108,7 +108,7 @@ func withDatadir(cmd *cobra.Command) {
|
||||
must(cmd.MarkFlagDirname("snapshot.dir"))
|
||||
|
||||
cmd.Flags().StringVar(&database, "database", "", "lmdb|mdbx")
|
||||
cmd.Flags().IntVar(&databaseVerbosity, "database.verbosity", -1, "Enabling internal db logs. Very high verbosity levels may require recompile db.")
|
||||
cmd.Flags().IntVar(&databaseVerbosity, "database.verbosity", 2, "Enabling internal db logs. Very high verbosity levels may require recompile db. Default: 2, means warning")
|
||||
}
|
||||
|
||||
func withBatchSize(cmd *cobra.Command) {
|
||||
|
@ -24,8 +24,8 @@ var (
|
||||
}
|
||||
DatabaseVerbosityFlag = cli.IntFlag{
|
||||
Name: "database.verbosity",
|
||||
Usage: "Enabling internal db logs. Very high verbosity levels may require recompile db.",
|
||||
Value: -1,
|
||||
Usage: "Enabling internal db logs. Very high verbosity levels may require recompile db. Default: 2, means warning.",
|
||||
Value: 2,
|
||||
}
|
||||
BatchSizeFlag = cli.StringFlag{
|
||||
Name: "batchSize",
|
||||
|
Loading…
Reference in New Issue
Block a user