[V. 8] Success job execution wrongly logged in worker.error.log?

Hi there,

it seems background jobs are not running correctly in production mode, worker.log is empty while worker.errror.log is 3M (successful jobs are stored in error as well) .

Actually i’ve set in hooks:

scheduler_events = {
    "all": [
        "istorecast.tasks.create_weekly_order_plan",
        "istorecast.tasks.submit_margine_reparto_docs"
    ],
    "weekly": [
        "istorecast.tasks.set_margine_reparto_docs"

    ]

But i can’t find any of that in logs, background jobs are enabled and running ad per frappe.log:

[DEBUG] 2017-04-10 08:29:12,438 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: deltastore.istorecast.com
Queued events for site xxx.xxx.xxx
[DEBUG] 2017-04-10 08:33:12,757 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: deltastore.istorecast.com
Queued events for site  xxx.xxx.xxx

I can’t find any of the jobs even in worker.error.log

Any hint?

Thx

Update: After rebooting the server jobs are executed, still logging in worker.error.log even if run success

This is the design in v7 too.

i see, imho probably would be better to have successful jobs in worker.log and failed jobs in worker.errror.log.