# Starling and Workling problem

**URL:** <https://www.ruby-forum.com/t/starling-and-workling-problem/156113>\
**Category:** Rails\
**Created:** [December 20, 2008, 9:37pm UTC](https://www.ruby-forum.com/t/starling-and-workling-problem/156113 "2008-12-20T21:37:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![marc](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/8dc957/32.png) [@marc](https://www.ruby-forum.com/u/marc)\
**Post date:** [December 20, 2008, 9:37pm UTC](https://www.ruby-forum.com/t/starling-and-workling-problem/156113/1 "2008-12-20T21:37:11Z")

</div>

Hi all

I am trying to run a background task with Starling and Workling,  
following Ryan B.’ screencast.  
My problem is that whenever I execute my async\_method, nothing  
happens. No errors are generated, and the app continues as though  
nothing happened.  
My question is then, how do I debug my working? I know the ascync  
method is being called, but there is nothing in the log files and no  
degugging problems are reported. So how do I debug it?  
debugger doesnt break when called from the workling and no  
logger.debug messages from it are printed in my logs.

Thanks  
Marc

---

<div class="post-metadata">

**Author:** ![marc](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/8dc957/32.png) [@marc](https://www.ruby-forum.com/u/marc)\
**Post date:** [December 30, 2008, 10:53am UTC](https://www.ruby-forum.com/t/starling-and-workling-problem/156113/2 "2008-12-30T10:53:01Z")

</div>

add this inside your worker class

BG\_LOGGER = Logger.new("#{RAILS\_ROOT}/log/#{RAILS\_ENV}-  
background.log")

I can’t rememeber where I read this but it worked for me.
