The easiest way to change this is to hack SimpleStatistics and change
how it gets its statisticslog.  It's in SimpleStatistics.setup(...)
Right now the log is done like this:

statisticslog = state.output.addLog(
        statisticsFile, Output.V_NO_GENERAL-1,false,

You might change this to something like:

statisticslog = state.output.addLog(
        new PrintWriter(new OutputStreamWriter(System.out)),

...or simpler...

statisticslog = state.output.addLog(

Maybe I got those wrong... just look up ec.util.Output

On Jul 30, 2004, at 4:14 AM, Axel Kowald wrote:

> Hi everybody,
> I'm getting into ECJ and I'm thinking about writing some kind of
> frontend that starts ECJ and somehow displays the output nicely (if
> something like this already exists, please tell me!).
> For that it would be very helpful if the statistics output would not go
> into a file (stat.file=xyz), but if it could be redirected to
> stdout.          Is this possible ?
> Many thanks,
>                       Axel Kowald