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

**URL:** <https://discuss.rubyonrails.org/t/logging-in-backgroundrb-i-e-logger-debug-logger-info/30384>\
**Category:** rubyonrails-talk\
**Created:** [June 8, 2008, 10:20pm UTC](https://discuss.rubyonrails.org/t/logging-in-backgroundrb-i-e-logger-debug-logger-info/30384 "2008-06-08T22:20:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mozmonkey](https://avatars.discourse-cdn.com/v4/letter/m/4491bb/32.png) [@Mozmonkey](https://discuss.rubyonrails.org/u/Mozmonkey)\
**Post date:** [June 8, 2008, 10:20pm UTC](https://discuss.rubyonrails.org/t/logging-in-backgroundrb-i-e-logger-debug-logger-info/30384/1 "2008-06-08T22:20:41Z")

</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:** ![jeff\_emminger](https://avatars.discourse-cdn.com/v4/letter/j/aca169/32.png) [@jeff\_emminger](https://discuss.rubyonrails.org/u/jeff_emminger)\
**Post date:** [June 9, 2008, 6:24am UTC](https://discuss.rubyonrails.org/t/logging-in-backgroundrb-i-e-logger-debug-logger-info/30384/2 "2008-06-09T06:24:05Z")

</div>

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

def logger &nbsp;&nbsp;RAILS\_DEFAULT\_LOGGER end
