[Backgroundrb-devel] Bdrb's select statements in log

hemant gethemant at gmail.com
Mon Jan 5 00:59:38 EST 2009


Actually this is from ActiveRecord statements inside bdrb (not exactly
from bdrb). You can disable logging in AR if inside backgroundrb
(check AR api)



On Mon, Jan 5, 2009 at 11:05 AM, Ramon Tayag <ramon.tayag at gmail.com> wrote:
> I find it a bit difficult to read the server log when backgroundrb
> outputs its sql activity:
>
> BdrbJobQueue Load (0.000405)   SELECT * FROM `bdrb_job_queues` WHERE (
> worker_name = 'mail_worker' AND taken = 0 AND scheduled_at <=
> '2009-01-05 05:33:51' ) LIMIT 1 FOR UPDATE
>  SQL (0.000088)   COMMIT
>
> How do I turn this off?  I tried the "log: background" configuration
> option but it didn't do anything.
>
> Thanks,
> Ramon Tayag
> _______________________________________________
> Backgroundrb-devel mailing list
> Backgroundrb-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/backgroundrb-devel
>



-- 
Let them talk of their oriental summer climes of everlasting
conservatories; give me the privilege of making my own summer with my
own coals.

http://gnufied.org


More information about the Backgroundrb-devel mailing list