[IMP] ir_cron: use 'info' loglevel instead of 'debug' when starting job

This information is important for `ir.cron` troubleshooting hence
deserves a little more love.
This commit is contained in:
Fabien Meghazi
2018-01-12 09:34:08 +01:00
parent 6d5c2d0bea
commit 65b41eb291
+1 -1
View File
@@ -215,7 +215,7 @@ class ir_cron(models.Model):
_logger.debug("Job `%s` already executed by another process/thread. skipping it", job['cron_name'])
continue
# Got the lock on the job row, run its code
_logger.debug('Starting job `%s`.', job['cron_name'])
_logger.info('Starting job `%s`.', job['cron_name'])
job_cr = db.cursor()
try:
registry = odoo.registry(db_name)