Fork me on GitHub
#pedestal
<
2018-06-15
>
ddeaguiar13:06:18

@mkvlr if you are not setting :io.pedestal.http/interceptors in your app’s service map, you will by default use log-request for request logging. This is set when default-interceptors is called during service startup (see here https://github.com/pedestal/pedestal/blob/master/service/src/io/pedestal/http.clj#L205-L206). You also have the opportunity to override the request logger.

mkvlr14:06:23

@ddeaguiar yep, so far we’re using that but it doesn’t log request time, ip etc.

mkvlr15:06:59

might be nice to have that included by default

ddeaguiar15:06:18

I was going to suggest opening an issue for this request but I think you should bring it up on the Pedestal user group first. Can you do that? Paul monitors that channel and he should chime in there.

mkvlr15:06:07

sure, will do. Thanks and have a good weekend!