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

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

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0-beta9, 2.0-rc1
    • Fix Version/s: None
    • Component/s: log4j 1.2 emulation
    • Labels:
    • Environment:

      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

              People

              • Assignee:
                Unassigned
                Reporter:
                gauravk Gaurav Kapoor
              • Votes:
                2 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated: