Re: [Pharo-users] HTTP file logging for Zinc

2015-07-02 Thread Sven Van Caekenberghe
> On 02 Jul 2015, at 01:04, Ben Coman wrote: > > On Thu, Jul 2, 2015 at 2:53 AM, Sven Van Caekenberghe wrote: >> >>> On 01 Jul 2015, at 19:54, Esteban A. Maringolo wrote: >>> >>> Thank you Sven! >> >> You're welcome. >> >> One thing that I did that I am not sure of is, whether Referer and

Re: [Pharo-users] HTTP file logging for Zinc

2015-07-01 Thread Ben Coman
On Thu, Jul 2, 2015 at 2:53 AM, Sven Van Caekenberghe wrote: > >> On 01 Jul 2015, at 19:54, Esteban A. Maringolo wrote: >> >> Thank you Sven! > > You're welcome. > > One thing that I did that I am not sure of is, whether Referer and User-Agent > should be "-" or just "" when absent, I chose the

Re: [Pharo-users] HTTP file logging for Zinc

2015-07-01 Thread Sven Van Caekenberghe
> On 01 Jul 2015, at 19:54, Esteban A. Maringolo wrote: > > Thank you Sven! You're welcome. One thing that I did that I am not sure of is, whether Referer and User-Agent should be "-" or just "" when absent, I chose the first one but I am not sure. > How does it work with FileStreams when th

Re: [Pharo-users] HTTP file logging for Zinc

2015-07-01 Thread Esteban A. Maringolo
Thank you Sven! How does it work with FileStreams when the requests come from different threads of the server? I mean, is FileStream thread safe? I guess that if I have multiple images I should have a file per image, otherwise I couldn't write to a single file. I will add the payload logging some

Re: [Pharo-users] HTTP file logging for Zinc

2015-07-01 Thread Sven Van Caekenberghe
Esteban, > On 29 Jun 2015, at 21:40, Esteban A. Maringolo wrote: > > Hello everyone, > > I want to record everything that goes in or out from our REST API servers, > maybe including HTTP payload (JSON mostly). > > ZnLogEvent seems to have the basic building blocks for logging, but I want to

Re: [Pharo-users] HTTP file logging for Zinc

2015-06-29 Thread Sven Van Caekenberghe
> On 29 Jun 2015, at 21:40, Esteban A. Maringolo wrote: > > Hello everyone, > > I want to record everything that goes in or out from our REST API servers, > maybe including HTTP payload (JSON mostly). > > ZnLogEvent seems to have the basic building blocks for logging, but I want to > know if

[Pharo-users] HTTP file logging for Zinc

2015-06-29 Thread Esteban A. Maringolo
Hello everyone, I want to record everything that goes in or out from our REST API servers, maybe including HTTP payload (JSON mostly). ZnLogEvent seems to have the basic building blocks for logging, but I want to know if there is a package/project that already provides file logging, so I can not