Hi expert,
I am a beginner in logging tool and decided to try out Log4j2.
In my build path, I have attached log4j-web-2.8.2.jar and log4j-to-slfj-2.8.2.jar.
And then I did the following configuration : // I tried out both type : Configuration status = "infor" and "warn"
Now, at my classes, I am supposed to put in the logger but when I write this line :
private static Logger log = Logger.getLogger( MyClass.class )
Eclipse
IDE just won't call out the Log4j2 logger...it asked me to change to Log etc...Please see screenshot.
Hope someone can advise me where I have gone wrong.
Thanks.