Re: Need Help on removing log4j dependency.
"M. Ranganathan" <[email protected]>
| Newsgroups | gmane.comp.voip.nist-sip |
|---|---|
| Message-ID | <[email protected]> |
Hello Smith, There is only a single file in the entire distribution where Log4J should be directly referenced. That file is gov.nist.core.LogWriter.java. The reason for isolating all logging into that one single file is precisely because people may want to imbed the stack in an applet and may not want to drag log4j in over the wire. In any case, please edit that file and replace all occurances of logger.debug with System.out.println and that should work. If you wish, you can extract the interface from LogWriter.java and provide two implementations of it -- one that uses log4j (which should be the default) and another that uses println. Then make the choice of one (or the other) using yetanudderstackconfigurationproperty. Let me know how it turns out ;-) Regards Ranga SiM wrote: > Hi All, > I'am using the NIST SIP stack, to build a light weight > AppletPhone, i do not need the log4j related classes, > How do i remove all the dependecies for log4j from the stack code ? > > Please help. If anyone has prior experience, as my jar file size is > high, i'am trying to do this. > > Thank you. > > Cheers. > Simith > > > > >------------------------------------------------------------------------ > >_______________________________________________ >nist-sip mailing list >[email protected] >http://www-x.antd.nist.gov/mailman/listinfo/nist-sip > > -- M. Ranganathan Advanced Networking Technologies Division, National Institute of Standards and Technology (NIST), 100 Bureau Drive, Stop 8920, Gaithersburg, MD 20899. tel:301 975 3664 , fax:301 590 0932 http://w3.antd.nist.gov/ Advanced Networking Technologies For the People!