I would like to know more about Log4j. I am building an app with Swings and would like to use Log4j for error logging.
Could any one let me know where to start from or how to go for it ? Please also give links if you know any where I can get the right implementation info.
I searched few sites but didnt understand much since I have never used it before ..
Thanks ..
This message was edited 1 time. Last update was at by Bear Bibeault
Thanks for the link..it was really helpful . Now I have all basic knowledge of Log 4j.
I am planning to use FileAppender for logging. I want to give log file path dynamically by allowing user to specify where they want to store
the log file for reference through UI. I am using property file to control logger.
Could you please let me how to configure the property file to accept path dynamically i.e how to set the log file path from inside my class ??
Thanks ..
This message was edited 1 time. Last update was at by Rite Sara
David Newton
Author
Rancher
Joined: Sep 29, 2008
Posts: 12612
posted
0
The Log4J introduction gives complete details regarding programmatic configuration of Log4J.