Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-461

(Android) ERROR StatusLogger Unable to locate a logging implementation, using SimpleLogger

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

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0-beta9, 2.0-rc1
    • None
    • Log4j 1.2 bridge
    • Android

    Description

      ERROR StatusLogger Unable to locate a logging implementation, using SimpleLogger

      Code:
      Logger LOG = LogManager.getLogger(MainActivity.class);
      LOG.error("Test Log4j2");

      <?xml version="1.0" encoding="UTF-8"?> 
      <Configuration> 
        <Appenders> 
          <Console name="STDOUT" target="SYSTEM_OUT"> 
            <PatternLayout pattern="%d %-5p [%t] %C{2} (%F:%L) - %m%n"/> 
          </Console> 
        </Appenders> 
        <Loggers> 
          <Logger name="hello" level="info"/> 
          <Root level="trace"> 
            <AppenderRef ref="STDOUT"/> 
          </Root> 
        </Loggers> 
      </Configuration>
      

      Attachments

        Issue Links

        Activity

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

          People

            Unassigned Unassigned
            gauravk Gaurav Kapoor

            Dates

              Created:
              Updated:

              Slack

                Issue deployment