Skip to content

Commit

Permalink
Mute logging
Browse files Browse the repository at this point in the history
  • Loading branch information
aisk committed Apr 13, 2020
1 parent 41f88b3 commit 41ffdaa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions schedule/__init__.py
Expand Up @@ -106,8 +106,8 @@ def run_all(self, delay_seconds=0):
:param delay_seconds: A delay added between every executed job
"""
logger.info('Running *all* %i jobs with %is delay inbetween',
len(self.jobs), delay_seconds)
logger.debug('Running *all* %i jobs with %is delay inbetween',
len(self.jobs), delay_seconds)
for job in self.jobs[:]:
self._run_job(job)
time.sleep(delay_seconds)
Expand Down Expand Up @@ -481,7 +481,7 @@ def run(self):
:return: The return value returned by the `job_func`
"""
logger.info('Running job %s', self)
logger.debug('Running job %s', self)
ret = self.job_func()
self.last_run = datetime.datetime.now()
self._schedule_next_run()
Expand Down

0 comments on commit 41ffdaa

Please sign in to comment.