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

mongod does not log anything when run as windows service

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 1.2.4
    • Fix Version/s: 1.5.5
    • Component/s: None
    • Labels:
      None
    • Environment:
      Windows 7 x64

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              redbeard0531 Mathias Stearn
              Reporter:
              lanwin Steve Wagner
              Participants:
              Votes:
              4 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: