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

Windows Service: --install output should go to the console, not the log file

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Admin
    • Environment:
      Windows, installing mongod.exe or mongos.exe as a Windows Service

      Description

      If there is an error/failure when trying to install (or uninstall or reinstall) as a Windows service (using --install, --remove or --reinstall), you can't tell from the console where you typed the command because the error text went to the logfile (that you were required to specify on the command line). When you then can't start the service (because of the earlier, unseen, error) you need to look in the log file to find out what happened. This makes this feature harder to use than it needs to be.

      All text resulting from the attempt to install, remove or reinstall the service should go to the console; the --logpath setting needs to be copied to the registry to install the service, but it should not be used during the install itself.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-devplatform Backlog - Server Development Platform Team
              Reporter:
              tad Tad Marshall
              Participants:
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: