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

ERROR StatusLogger Unable to locate a logging implementation, using SimpleLogge

    XMLWordPrintableJSON

Details

    Description

      I have problem to make the logging work with the log4j2.xml when packing into jar file.

      I have launcher.jar which calls oamcli.jar(has logging implementation and log is working in eclipse)

      How ever when I try to run :

      java -Dlog4j.configurationFile=path\to\log4j2.xml -cp "launcher.jar; lib*" .....

      I got a "ERROR StatusLogger Unable to locate a logging implementation, using SimpleLogger"

      Please give me some advice and where to look for the answer.

      Thanks!

      Attachments

        Activity

          People

            Unassigned Unassigned
            kingwang98@yahoo.com wei wang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 12h
                12h
                Remaining:
                Remaining Estimate - 12h
                12h
                Logged:
                Time Spent - Not Specified
                Not Specified