Menu

Socket handling in logging library

Erik Hix
2008-12-01
2013-04-23
  • Erik Hix

    Erik Hix - 2008-12-01

    The logging library currentkly throws an exception if the server is not available when the library is first constucted or if the socket is closed later on.  I think it should:
    - attempt to connect in the background (and not block in the constrcutor)
    - silenlt handle a socket close/disconnect
    - silently discard any log events generated when there is no socket connection
    - automatically and continually attempt to reconnect silently in the background

    What do you think?

     
    • Jae Stutzman

      Jae Stutzman - 2008-12-01

      agreed

       
    • sagacis

      sagacis - 2008-12-03

      sounds like a plan to me

       
    • Jae Stutzman

      Jae Stutzman - 2008-12-03

      done in rev 16

       
      • Erik Hix

        Erik Hix - 2008-12-03

        Hooray!

         

Log in to post a comment.

MongoDB Logo MongoDB