Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support more APScheduler job-types #59

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

fake-name
Copy link

Basically, right now, when you import ndscheduler, it installs it's own logging global handler.

If you're using ndscheduler in a context where you have existing logging infrastructure, this is extremely annoying, because it means you wind up either having to manually remove the logger after import, or you get double-logging of all log output.

Anyways, this PR just turns off the logging built-into the library. If you want logging, use logging.basicConfig() or similar.


In general, a library should never install a global logging handler on import.

@fake-name fake-name changed the title Don't globally install a logging handler, because it makes integration annoying. Support more APScheduler job-types Jul 16, 2019
@fake-name
Copy link
Author

Ok, it now also adds supports for:

  • pypy psycopg2cffi (which is a drop-in replacement).
  • Showing (and triggering, though not scheduling) interval-based jobs.

# Conflicts:
#	ndscheduler/core/datastore/providers/postgresql.py
#	ndscheduler/corescheduler/datastore/base.py
#	ndscheduler/server/handlers/jobs.py
@fake-name
Copy link
Author

Rolled up to current master.

Any chance of this getting merged?

@matrixx567 matrixx567 mentioned this pull request Feb 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant