# Access Render/DB Times

**URL:** <https://www.ruby-forum.com/t/access-render-db-times/88339>\
**Category:** Rails\
**Created:** [March 9, 2007, 9:27pm UTC](https://www.ruby-forum.com/t/access-render-db-times/88339 "2007-03-09T21:27:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tom](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/3d9bf3/32.png) [@tom](https://www.ruby-forum.com/u/tom)\
**Post date:** [March 9, 2007, 9:27pm UTC](https://www.ruby-forum.com/t/access-render-db-times/88339/1 "2007-03-09T21:27:09Z")

</div>

Is there a way to access the render times that are being logged to the  
log file? For example, lets say that I wanted to execute a method if  
the DB query time was greater than a certain amount. Currently that  
information is logged to the production log and I’m just wondering if  
it is a variable we can access.

Thanks,  
Tom
