Göran,

I think before we adopt anything, it should have the "left running" scenario 
addressed in some way.  Pharo is supposed to be robust.  That mean losing the 
silent failures, and doing so in a way that the new information does not bring 
the system to its knees.

On Windows, OutputDebugString() is probably good enough.  Since I am doing 
everything I can to ditch said platform, I might not be the best person to ask. 
 Certainly, it is where I would go for a live view, and a file-based log would 
then cover everything else - I think.

On Linux, you mention lots of tools: any recommendations?

Thanks!

Bill


________________________________________
From: [email protected] 
[[email protected]] On Behalf Of Göran Krampe 
[[email protected]]
Sent: Wednesday, September 08, 2010 6:57 PM
To: [email protected]
Subject: Re: [Pharo-project] simpleLog in pharo?

On 09/08/2010 10:50 PM, Schwab,Wilhelm K wrote:
> You mention something for viewing the log in-image.  Dumb question: can it be 
> left running and safely forgotten, or does it suffer
 > under high load?  Is there a way to view the log from outside of a
running image?  The latter is less important in proportion
 > to the robustness of the in-image viewer.  One thing that I often
miss is DebugView; it would be really nice to find an equivalent on Linux.
>
> Bill

SimpleLog has a LogMorph, I didn't write it but it registers itself as
an emitter. Not sure what it does if it is "left running" :) It could
probably use a "max backlog" or something, if it doesn't have that already.

Viewing the log from outside: There are two "ways". First there is a
logfile emitter - which writes to a log file and also does log file
rotation after a max size etc. So you could always "tail" that file.

Second is to use the syslog emitter - which IMHO is the best. That
emitter uses syslog UDP standard messages to the local syslog port and
then - on a normal linux box - your stuff will end up in the system log.

 From there you have TONS of tools.

regards, Göran

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to