Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-2971

Append (not add new) InetAddress info logging when starting MessagingService

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 0.8.3
    • None
    • None

    Description

      Currently we have

      MessagingService.getServerSocket(InetAddress localEp)
      logger_.info("Starting Messaging Service on port {}", DatabaseDescriptor.getStoragePort());
      

      We should probably just print the whole binded address. The address is an InetSocketAddress:

      InetSocketAddress address = new InetSocketAddress(localEp, DatabaseDescriptor.getStoragePort());
      try
      {
          ss.bind(address);
      }
      
      logger_.info("Starting Messaging Service on {}",address);
      

      sample output with the new log:

       INFO [main] 2011-07-29 18:54:54,018 MessagingService.java (line 226) Starting Messaging Service on faranth/192.168.1.141:7000
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            cywjackson Jackson Chung Assign to me
            cywjackson Jackson Chung
            Jackson Chung
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment