Re: [eclipse-clp-users] Too much output on compiling, how to reduce?

From: Ulrich Scholz <wanderer_at_...190...>
Date: Mon, 8 Nov 2010 12:34:56 +0100
Dear Joachim,

thanks for your answer.  Your proposed method works.

Or it would work.  For some reason I do not understand, I cannot set the
streams back after compiling my project.  So, for example, when I redirect
the log_output into the file "logfile" as you suggest, compile my project,
and then set it back (either to the stream retrieved by
get_stream(log_output, S) or to the number "1"), ECLiPSe still writes to

Strangely, re-setting the streams work when a) setting and re-setting them
prior to compiling my project as well as b) setting it to "logfile",
compiling some simple test case (just a file with "start :- write(xxx)."),
and then setting it back.  So it is something in my project that prevents
the re-setting of the streams.

Well, I guess it would be hard to track that down.  

Best regards,



On Mon, Nov 08, 2010 at 02:57:22PM +1100, Joachim Schimpf wrote:
> Ulrich Scholz wrote:
> > Dear all, 
> > 
> > when compiling an ECLiPSe project on the command line, I get so many lines
> > of output that I sometimes "miss" error messages.  In particular, I get a
> > lot of 
> > 
> > Found CHR ... in module types, generating transformed code
> > *** Creating auxiliary predicate '...' / xxx
> > <ECLiPSe Library> loaded in 0.00 seconds
> > 
> > most of the time, these lines do not tell me "new" info.  How can I reduce
> > the output?
> ECLiPSe uses different streams to print different classes of messages:
> output
> error
> warning_output
> log_output
> Most of the messages you mention go to log_output, and you can suppress
> them by redirecting this stream, e.g. set_stream(log_output, null),
> or redirect them to a file via open("logfile",write,log_output).
> -- Joachim
> ------------------------------------------------------------------------------
> The Next 800 Companies to Lead America's Growth: New Video Whitepaper
> David G. Thomson, author of the best-selling book "Blueprint to a 
> Billion" shares his insights and actions to help propel your 
> business during the next growth cycle. Listen Now!
> _______________________________________________
> ECLiPSe-CLP-Users mailing list
Received on Mon Nov 08 2010 - 11:35:06 CET

This archive was generated by hypermail 2.2.0 : Mon Jul 09 2018 - 02:05:29 CEST