Forums Register Login

org.apache.log4j.Logger

+Pie Number of slices to send: Send
Hi guys..

what this class (org.apache.log4j.Logger) is all about.. can any one give me clear view about this....

Thanks in advance.
+Pie Number of slices to send: Send
 

what this class (org.apache.log4j.Logger) is all about.. can any one give me clear view about this....



That's a class which is available in the Log4j project which is a logging library. You can find more details about it on their project site http://logging.apache.org/log4j/2.x/
+Pie Number of slices to send: Send
A lot of Maven archetypes put this in for you as for a very long time Log4j is just what you used. For any new projects I now rip this out and replace it with Logback and Sl4j.

You can read more

http://logback.qos.ch/reasonsToSwitch.html
http://logback.qos.ch/
http://www.slf4j.org/

Note that all of these 3 projects have the same primary author. But the latter 2 were created to correct issues in the former. There is no reason to continue using log4j (no longer under active development) on any new projects.

Also sl4j is a logging abstraction layer it is not a logging framework, it is used together with a logging framework (like logback or log4j).
Be reasonable. You can't destroy everything. Where would you sit? How would you read a tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1250 times.
Similar Threads
Can interface include Anonymous class?
need suggestion on using views in action class
How to Lock(-1)
489 Admin test
Peer class
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 02:05:59.