Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-14782

15 or more "v" in verbosity setting fails to set any verbosity level

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: 2.6.3, 2.7.4
    • Component/s: Logging
    • ALL
    • Server 2.7.5

      If you start a mongod instance with 15 or more "v"s of verbosity, no verbosity setting will be used.

      Example:
      With 14 "v"s:

      {
              "argv" : [
                      "./mongod",
                      "--dbpath",
                      "../scratch/logtestingdata/",
                      "--logpath",
                      "../scratch/logtestingdata/log",
                      "--fork",
                      "--port",
                      "27018",
                      "-vvvvvvvvvvvvvvv"
              ],
              "parsed" : {
                      "net" : {
                              "port" : 27018
                      },
                      "processManagement" : {
                              "fork" : true
                      },
                      "storage" : {
                              "dbPath" : "../scratch/logtestingdata/"
                      },
                      "systemLog" : {
                              "destination" : "file",
                              "path" : "../scratch/logtestingdata/log",
                              "verbosity" : 14
                      }
              },
              "ok" : 1
      }
      

      With 15 "v"s:

      {
              "argv" : [
                      "./mongod",
                      "--dbpath",
                      "../scratch/logtestingdata/",
                      "--logpath",
                      "../scratch/logtestingdata/log",
                      "--fork",
                      "--port",
                      "27018",
                      "-vvvvvvvvvvvvvvvv"
              ],
              "parsed" : {
                      "net" : {
                              "port" : 27018
                      },
                      "processManagement" : {
                              "fork" : true
                      },
                      "storage" : {
                              "dbPath" : "../scratch/logtestingdata/"
                      },
                      "systemLog" : {
                              "destination" : "file",
                              "path" : "../scratch/logtestingdata/log"
                      },
                      "verbose" : "vvvvvvvvvvvvvvv"
              },
              "ok" : 1
      }
      

      Buildinfo for debugging purposes:

      > db.runCommand({buildinfo:1})
      {
              "version" : "2.7.5-pre-",
              "gitVersion" : "6e2f3346f21f8e5de68aa5099317512ef51eb023",
              "OpenSSLVersion" : "",
              "sysInfo" : "Linux localhost.localdomain 3.13.10-200.fc20.x86_64 #1 SMP Mon Apr 14 20:34:16 UTC 2014 x86_64 BOOST_LIB_VERSION=1_49",
              "loaderFlags" : "-fPIC -pthread -Wl,-z,now -rdynamic",
              "compilerFlags" : "-Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -Werror -O3 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-but-set-variable -fno-builtin-memcmp -std=c99",
              "allocator" : "tcmalloc",
              "versionArray" : [
                      2,
                      7,
                      5,
                      -100
              ],
              "javascriptEngine" : "V8",
              "bits" : 64,
              "debug" : false,
              "maxBsonObjectSize" : 16777216,
              "ok" : 1
      }
      

      Also tested and successfully reproduced against 2.6.3

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            andrew.emil@10gen.com Andrew Emil (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: