Any way to skip logging requests for static assets?

I’m wondering if I can turn off logging for static assets in Phoenix?

I’m getting stuff like this in DataDog
08:05:12.464 [info] {"duration":0.123,"method":"GET","params":{},"path":"/favicon.ico","state":"set_file","status":200}

Now, I can filter it out on DataDog level, but would be nice for these logs to not even get there.

1 Like