How to write a log message when hosted on seasidehosting.st

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to write a log message when hosted on seasidehosting.st

squeakman
Hi,

I am running on seasidehosting.st and I would like to log messages to
either the WebAccess log, the System Out, System Error or Squeak Debug.

I am writing messages to Transcript and expecting the message to show up
in the Squeak Debug log file but nothing gets written to the log file.

How do I write a message to the "Squeak Debug" log file when using
seasidehosting.st?

Thanks,
Frank

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: How to write a log message when hosted on seasidehosting.st

Adrian Lienhard
Hi Frank,

Writing to the SqueakDebug.log is not a good idea because the contents  
of this file is used  to log unhandled exceptions and the content is  
discarded each time.

Instead, I suggest to create your own log file. There also exist  
several Squeak logging libraries (search SqueakMap). Note, Transcript  
alway writes to the internal Transcript window only.

HTH,
Adrian

On Mar 27, 2008, at 14:39 , Squeaker wrote:

> Hi,
>
> I am running on seasidehosting.st and I would like to log messages  
> to either the WebAccess log, the System Out, System Error or Squeak  
> Debug.
>
> I am writing messages to Transcript and expecting the message to  
> show up in the Squeak Debug log file but nothing gets written to the  
> log file.
>
> How do I write a message to the "Squeak Debug" log file when using  
> seasidehosting.st?
>
> Thanks,
> Frank
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside