diff options
author | Alex Grönholm <alex.gronholm@nextday.fi> | 2017-12-14 22:52:40 +0200 |
---|---|---|
committer | Alex Grönholm <alex.gronholm@nextday.fi> | 2017-12-19 23:10:51 +0200 |
commit | 5e56860088bab438b0cf234a920d276359f897fd (patch) | |
tree | d89ed61daf44050e70454802959bcc7283ee2c8e | |
parent | 89513a7007d8aae3975303fb9748663d423834f4 (diff) | |
download | apscheduler-5e56860088bab438b0cf234a920d276359f897fd.tar.gz |
Added a troubleshooting section
-rw-r--r-- | docs/userguide.rst | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/userguide.rst b/docs/userguide.rst index a0e45fa..4c1a546 100644 --- a/docs/userguide.rst +++ b/docs/userguide.rst @@ -454,6 +454,22 @@ Example:: scheduler.add_listener(my_listener, EVENT_JOB_EXECUTED | EVENT_JOB_ERROR) +Troubleshooting +--------------- + +If the scheduler isn't working as expected, it will be helpful to increase the logging level of the +``apscheduler`` logger to the ``DEBUG`` level. + +If you do not yet have logging enabled in the first place, you can do this:: + + import logging + + logging.basicConfig() + logging.getLogger('apscheduler').setLevel(logging.DEBUG) + +This should provide lots of useful information about what's going on inside the scheduler. + + Reporting bugs -------------- |