[Seaside] Re: Write stack traces to stderr?

Andreas Raab andreas.raab at gmx.de
Sat May 2 11:32:00 UTC 2009


Philippe Marschall wrote:
> 2009/5/2 David Farber <dfarber at numenor.com>:
>> Does anyone have code that will write stack traces to stderr
> 
> AFAIK Squeak does not have the ability to write to stderr from
> "userland" (Squeak code) by default. AFAIK you'll have to load
> OSProcess.

Try this instead:

stdout := FileStream oldFileNamed: '/dev/stdout'.
stderr := FileStream oldFileNamed: '/dev/stderr'.

We use this quite a bit on our servers.

Cheers,
   - Andreas


More information about the seaside mailing list