XMLWordPrintable

    Details

    • Type: Question
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Shell
    • Labels:
      None

      Description

      Hi 
         I connet a mongo replicaSet which achieve port-mapping by mongo string url

      xx.xx.xx.xx 233 -> mongoIp mongoPort

       

      mongo mongodb://[username]:[password]@xx.xx.xx.xx:233/admin?replicaSet=foobar 
       
      It print below content:
      ...
      2020-06-03T10:42:50.110+0800 I NETWORK  [js] Successfully connected to 139.198.11.141:27777 (1 connections now open to xx.xx.xx.xx:233 with a 5 second timeout)
      2020-06-03T10:42:50.111+0800 I NETWORK  [js] changing hosts to foobar/[mongoIp]:[mongoPort] from foobar/xx.xx.xx.xx:233
      ...
       
      how to disable print this content?
      2020-06-03T10:42:50.111+0800 I NETWORK [js] changing hosts to foobar/[mongoIp]:[mongoPort] from foobar/xx.xx.xx.xx:233
      
      

       

       

       

       

        Attachments

          Activity

            People

            Assignee:
            edwin.zhou Edwin Zhou
            Reporter:
            2541058309@qq.com Lizhu you
            Participants:
            Votes:
            1 Vote for this issue
            Watchers:
            10 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: