1 Oct 2008 01:52
Re: Need Help on LogAdapter - snmp4j
Hi, Have you set the LogFactory to Log4jLogFactory in your main class/method with LogFactory.setLogFactory? Best regards, Frank srenivasan rs wrote: > Hi All, > > I would like to have a quick clarification on how to initialize the > logger mentioned in > org.snmp4j.util.TableUtils.java. I have the copied log4j setting used by > my library. > But, none of the messages from tableUtils are not logged in the log file. > > private static final LogAdapter logger = > LogFactory.getLogger(TableUtils.class); > > Please let me know if you know any other changes to the log4j.properties > > Thanks, > > R Srinivasan > > //log4j.properties > > log4j.rootLogger=DEBUG, testAppender > log4j.appender.testAppender=org.apache.log4j.FileAppender(Continue reading)
RSS Feed