Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-4132

Special log category for announcements, startup messages

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.0
    • 4.9, 6.0
    • None
    • None

    Description

      When logging at WARN (log4j) or WARNING (jul), Solr startup logs nothing or next to nothing. I would like to be able to include some informational messages in the log so that I can see that something's happening, and that Solr is ready for use. It would probably be wrong to set the level of such things to WARN, because they aren't warnings.

      An alternate plan would be to create a special log category, which could be set to INFO in log4j.properties or logging.properties. David Smiley suggested org.apache.solr.announcement.

      At a minimum, the new category should have messages for initial startup, core creation, all initialization finished, and shutdown. There may be other things that should be included too. It may even be a good idea to have subcategories. Some initial ideas I've thought of:

      org.apache.solr.announcement.startup
      org.apache.solr.announcement.shutdown
      org.apache.solr.announcement.init
      org.apache.solr.announcement.misc

      Attachments

        Issue Links

        Activity

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

          People

            Unassigned Unassigned
            elyograg Shawn Heisey

            Dates

              Created:
              Updated:

              Slack

                Issue deployment