# Is there anyway to embed log info into response?

**URL:** <https://www.ruby-forum.com/t/is-there-anyway-to-embed-log-info-into-response/149177>\
**Category:** Rails\
**Created:** [September 22, 2008, 10:08am UTC](https://www.ruby-forum.com/t/is-there-anyway-to-embed-log-info-into-response/149177 "2008-09-22T10:08:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![soliiid](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/0ea827/32.png) [@soliiid](https://www.ruby-forum.com/u/soliiid)\
**Post date:** [September 22, 2008, 10:08am UTC](https://www.ruby-forum.com/t/is-there-anyway-to-embed-log-info-into-response/149177/1 "2008-09-22T10:08:23Z")

</div>

hello everyone, I am looking for a way to embed log info into  
response, so that it can be displayed directly in View for debugging.  
any solution?

---

<div class="post-metadata">

**Author:** ![soliiid](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/0ea827/32.png) [@soliiid](https://www.ruby-forum.com/u/soliiid)\
**Post date:** [September 22, 2008, 10:16am UTC](https://www.ruby-forum.com/t/is-there-anyway-to-embed-log-info-into-response/149177/2 "2008-09-22T10:16:37Z")

</div>

Off the top of my head: using flash[:warning]?

---

<div class="post-metadata">

**Author:** ![soliiid](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/0ea827/32.png) [@soliiid](https://www.ruby-forum.com/u/soliiid)\
**Post date:** [September 22, 2008, 11:06am UTC](https://www.ruby-forum.com/t/is-there-anyway-to-embed-log-info-into-response/149177/3 "2008-09-22T11:06:35Z")

</div>

On Mon, Sep 22, 2008 at 9:57 AM, soliiid [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> hello everyone, I am looking for a way to embed log info into  
> response, so that it can be displayed directly in View for debugging.  
> any solution?

You could probably write something simple based on file-tail

[http://raa.ruby-lang.org/project/file-tail/](http://raa.ruby-lang.org/project/file-tail/)

or elif:

[http://raa.ruby-lang.org/project/elif/](http://raa.ruby-lang.org/project/elif/)

There are also some plugins:

[http://agilewebdevelopment.com/plugins/browserlogger](http://agilewebdevelopment.com/plugins/browserlogger)  
[http://agilewebdevelopment.com/plugins/daslog](http://agilewebdevelopment.com/plugins/daslog)  
[http://agilewebdevelopment.com/plugins/browser\_logger](http://agilewebdevelopment.com/plugins/browser_logger)

Have used none of those.
