[katello-devel] When debugging async operation
Lukas Zapletal
lzap at redhat.com
Mon Feb 6 10:34:03 UTC 2012
Is it possible to modify this and respect the katello sysconfig setting
(KATELLO_LOGGING) also in production mode?
Would be great to have this ability to track errors in production.
LZ
On Mon, Feb 06, 2012 at 10:09:35AM +0100, Ivan Necas wrote:
> Hi,
>
> It's quite hard to debug orchestration performed in delayed job,
> most of all because of missing logging information. I've tried to
> improve it a bit in 443a3bfccc644bd006fd811e596f1fdb94a0f837:
>
> When running the dealyed jobs with commend (exactly this way):
>
> ./script/delayed_job run
>
> the logs of delayed job worker (including Rails.logger) are
> written into
> log/development_delayed_jobs.log and sql logs go into
> log/development_delayed_jobs_sql.log. This helpes better track
> what happens
> while running async operation, especially calling remote services.
>
>
> I hope it helps you when debugging async tasks
>
> -- Ivan
>
>
> _______________________________________________
> katello-devel mailing list
> katello-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/katello-devel
--
Later,
Lukas Zapletal | E32E400A
RHN Satellite Engineering
Red Hat Czech s.r.o. Brno
More information about the katello-devel
mailing list