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 "logfile". 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, Ulrich 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! > http://p.sf.net/sfu/SAP-dev2dev > _______________________________________________ > ECLiPSe-CLP-Users mailing list > ECLiPSe-CLP-Users_at_lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/eclipse-clp-usersReceived on Mon Nov 08 2010 - 11:35:06 CET
This archive was generated by hypermail 2.2.0 : Thu Feb 02 2012 - 02:31:58 CET