Re: Need Help on removing log4j dependency.

SiM <[email protected]>
Newsgroups gmane.comp.voip.nist-sip
Message-ID <[email protected]>
Hi Ranga,
                Thank you very much for your clear response, i will make the
suggested changes, and will let you know :-) .

Cheers.
Simith



On 7/8/06, M. Ranganathan <[email protected]> wrote:
>
> 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!
>
>
>

_______________________________________________
nist-sip mailing list
[email protected]
http://www-x.antd.nist.gov/mailman/listinfo/nist-sip
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.