[Seaside] Re: Write stack traces to stderr?
Igor Stasenko
siguctua at gmail.com
Sat May 2 12:27:47 UTC 2009
2009/5/2 Andreas Raab <andreas.raab at gmx.de>:
> 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.
Unfortunately, this is not platform neutral solution.
>
> Cheers,
> - Andreas
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
--
Best regards,
Igor Stasenko AKA sig.
More information about the seaside
mailing list