Please forgive the cross-post. I haven’t gotten any response on the
BackgrounDRb list and am hoping someone here will have some idea about
what the heck…
I’ve just moved a small but important piece of my app into the
production environment. The piece is using BackgrounDRb to do session
management. It appears that BackgrounDRb is writing to development.log
instead of production.log. The backgroundrb.yml file specifies
production, as does environment.rb. Mongel is writing to
production.log.
A little background (no pun intended ;-0 ) I’m using the ‘old’ version
of backgroundrb for session management. In the app, whenever a visitor
changes pages I record the time in a db record. In the worker, once a
second, I’m doing a find for that record. That find is getting logged
in development.log, not in production.log as I expected.
Can anybody tell me if my assumption that BackgrounDRb is doing this
logging is correct? Nothing is being written to backgroundrb.log.
What’s being written to development.log is a record of the SQL calls
being done in the worker which is why I assume that BackgrounDRb must be
doing the logging. But we all know about assumptions…
Anybody got any idea what I’ve done wrong? I’m out of ideas: good, bad,
or otherwise. Any insights, pointers, etc. are most sincerely
appreciated!
Thanks!
Bill