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

mongod does not log anything when run as windows service

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.5.5
    • Affects Version/s: 1.2.4
    • Component/s: None
    • None
    • Environment:
      Windows 7 x64

      It seems mongod dose not log anything to log file when it runs as windows service. When i start the following command from cmd, it generates the logfile and starts logging. If i use the same command with --service to start the service, mongod only creates the file, but dose not append any conent.

      c:\MongoDb\bin\mongod --bind_ip=127.0.0.1 --dbpath=d:\MongoDb\data --logpath=d:\MongoDb\log\mongo.txt --logappend --verbose --service

            Assignee:
            mathias@mongodb.com Mathias Stearn
            Reporter:
            lanwin Steve Wagner
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: