# Logging in BackgrounDRb (i.e. Logger.debug, Logger.info)

**URL:** <https://www.ruby-forum.com/t/logging-in-backgroundrb-i-e-logger-debug-logger-info/139909>\
**Category:** Rails\
**Created:** [June 9, 2008, 12:21am UTC](https://www.ruby-forum.com/t/logging-in-backgroundrb-i-e-logger-debug-logger-info/139909 "2008-06-09T00:21:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mozmonkey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/4491bb/32.png) [@Mozmonkey](https://www.ruby-forum.com/u/Mozmonkey)\
**Post date:** [June 9, 2008, 12:21am UTC](https://www.ruby-forum.com/t/logging-in-backgroundrb-i-e-logger-debug-logger-info/139909/1 "2008-06-09T00:21:11Z")

</div>

Does anybody know where the logs from calling logger.debug in the  
worker goes? I don’t see it in the RoR logs or the BackgrounDRb logs.

Thanks,  
Jeremy

---

<div class="post-metadata">

**Author:** ![Mozmonkey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/4491bb/32.png) [@Mozmonkey](https://www.ruby-forum.com/u/Mozmonkey)\
**Post date:** [June 9, 2008, 8:24am UTC](https://www.ruby-forum.com/t/logging-in-backgroundrb-i-e-logger-debug-logger-info/139909/2 "2008-06-09T08:24:29Z")

</div>

On Jun 8, 6:20 pm, Mozmonkey [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Does anybody know where the logs from calling logger.debug in the  
> worker goes? I don’t see it in the RoR logs or the BackgrounDRb logs.

If your script loads the rails env, you could try forcing it into the  
rails logs like

def logger  
RAILS\_DEFAULT\_LOGGER  
end
