How to log Teapot activity

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

How to log Teapot activity

horrido
Is there a way to log server activity (to Transcript?) with Teapot? Without
ZnSecureServer.



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Reply | Threaded
Open this post in threaded view
|

Re: How to log Teapot activity

Sven Van Caekenberghe-2
Ask a Teapot's server (which will be a Zinc HTTP Components server) to log.

  Teapot on server logLevel: 1; logToTranscript.

Or even better, inspect the log objects emitted by Zinc HTTP Components.

  ZnLogEvent announcer inspect.

And select the Announcements tab.

> On 20 Dec 2018, at 17:02, horrido <[hidden email]> wrote:
>
> Is there a way to log server activity (to Transcript?) with Teapot? Without
> ZnSecureServer.
>
>
>
> --
> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
>