# HAProxy "slow query" log

**URL:** <https://discourse.haproxy.org/t/haproxy-slow-query-log/1133>\
**Category:** Help!\
**Created:** [March 30, 2017, 4:17pm UTC](https://discourse.haproxy.org/t/haproxy-slow-query-log/1133 "2017-03-30T16:17:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ivanilves](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.haproxy.org/ivanilves/32/192_2.png) [@ivanilves](https://discourse.haproxy.org/u/ivanilves)\
**Post date:** [March 30, 2017, 4:17pm UTC](https://discourse.haproxy.org/t/haproxy-slow-query-log/1133/1 "2017-03-30T16:17:07Z")

</div>

Dear HAProxy pros,

Do you know if it’s possible to log only HTTP requests taking more than X time to complete?  
I run a big HAProxy site and if I enable all HTTP request logging, I got hogged.  
If I enable only error logging, I get nothing, because I need to log requests having terminated successfully, but being slower than others 🙂

Thank you!
