> On 29 Jun 2015, at 21:40, Esteban A. Maringolo <emaring...@gmail.com> 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 there is 
> a package/project that already provides file logging, so I can not only have 
> the logs, but also if the file format is compatible with other http logs I 
> can run traditional web log tools on them, like Webalizer or AWStats.

Esteban,

ZnLogEvent is the way to go. Not all log events are needed to produce the CLF 
(https://en.wikipedia.org/wiki/Common_Log_Format) that you probably want, just 
a (simplified) transaction event. What is needed, but not yet present, is an 
extra print method on that object. That would be a good addition, I'll see how 
easy it is to add.

Sven

> Thank you!
> 
> Esteban A. Maringolo


Reply via email to