zalando / friboo

Utility library for writing microservices in Clojure, with support for Swagger and OAuth
Apache License 2.0
119 stars 16 forks source link

Introduce explicit audit loggers #80

Closed prayerslayer closed 8 years ago

prayerslayer commented 8 years ago

Fixes #79

Introduces two new components, a HTTP and a S3 audit logger, which provide a function that, when called, will write the provided clojure map to the destination.

I know we wanted to use timbre and provide a single audit log component, but this structure didn't make sense anymore when I realized we need access tokens for the HTTP component and it's thus dependent on the token-refreshing component. I dropped timbre afterwards because I didn't see the benefit anymore - we don't use the string serialization of it, we write our own appenders...

Could be discussed:

dryewo commented 8 years ago

👍

prayerslayer commented 8 years ago

👍

prayerslayer commented 8 years ago

Let's release it tomorrow.

harti2006 commented 8 years ago

@prayerslayer @dryewo can you please consider https://github.com/zalando/friboo/pull/81 before releasing? We need this for our application.