[Soot-list] Suppress Soot warning from log

R.F. rayfang1991 at hotmail.com
Wed Jun 3 07:10:18 EDT 2015


Hi, Eric,

Thanks for your answer. However, now every time I initialize Soot, I added
`G.v().out = new PrintStream(new File("/dev/null"));`, but some messages
are still outputted in the log. Did I do something wrong or miss something?

I also use soot-infoflow-android in my work, and I notice that classes such
as AnalyzeJimpleClass of soot-infoflow-android output directly via
System.out.

Moreover, after I set G.v().out, is error output redirected as well? I
found that I cannot access or modify G.v().err.

Thank you.


Best Regards,
Zheran Fang

On Wed, May 27, 2015 at 2:41 PM, Bodden, Eric <eric.bodden at sit.fraunhofer.de
> wrote:

> Hi.
>
> You can overwrite the output stream stored in G.v().out with one that
> prints nothing.
>
> Cheers,
> Eric
>
> > On 26.05.2015, at 18:15, R.F. <rayfang1991 at hotmail.com> wrote:
> >
> > Hi,
> >
> > When running Soot, it will print messages like "Warning: SOMECLASS is a
> phantom class", "[Spark] ******" , etc, in the output log.
> >
> > Is there any option to prevent Soot from printing anything, including
> infos or warnings in the output log?
> >
> > Thanks.
> >
> >
> > Best Regards,
> > R. F.
> > _______________________________________________
> > Soot-list mailing list
> > Soot-list at CS.McGill.CA
> > https://mailman.CS.McGill.CA/mailman/listinfo/soot-list
>
> --
> Prof. Eric Bodden, Ph.D., http://sse.ec-spride.de/ http://bodden.de/
> Head of Secure Software Engineering at Fraunhofer SIT, TU Darmstadt and EC
> SPRIDE
> Tel: +49 6151 16-75422    Fax: +49 6151 869-127
> Room B5.11, Fraunhofer SIT, Rheinstraße 75, 64295 Darmstadt
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20150603/059ed63c/attachment-0001.html 


More information about the Soot-list mailing list