I cannot look at the moment... Try searching the code for 'debug_log'.
I seem to recall that any value for that is interpreted as false, so
you shouldn't set it if you want logging. Something evil like that.
Adam Williams
On Jun 15, 2009, at 5:57 PM, Adrian Klingel <[email protected]
> wrote:
I've been using BDRB for about 48 hours. I must be missing
something extremely basic about the logging mechanism.
Background.yml looks like this:
:backgroundrb:
:lazy_load: false
:port: 11007 # port to start listen
:ip: 127.0.0.1 # host to listen
:debug_log: true # disable log workers and other logging
:persistent_disabled: false # turn this off if your application
doesn't use backgroundrb's persistent/enqueued tasks system
:persistent_delay: 10 # the time (seconds) between each time
backgroundrb checks the database for enqueued tasks
:environment: production
There are two log files:
backgroundrb_11007.log
backgroundrb_debug.log
which I don't get.
The only log file that ever gets a value in it is the "debug" log.
And in order to get anything to print to that, I have to do a "puts"
in the worker.
Only "puts" works. Logger.error, logger.info, logger.debug, none of
that works.
When I first installed this, I used to see BDRB querying the
bdrb_job_queues table. I know it's doing that, because I'm
submitting jobs and they are running, but basically almost nothing
logs.
Also, sometimes BDRB starts up with one process, and sometimes with
two. I guess one is supposed to be a logger process. Maybe the
logger process is silently dying, I don't know.
Can anyone point me in the right direction?
I deeply appreciate any help you can offer me, and I'll give back to
the list in the same fashion as soon as I can get this together.
_______________________________________________
Backgroundrb-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/backgroundrb-devel
_______________________________________________
Backgroundrb-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/backgroundrb-devel