Skip to content

Support more APScheduler job-types#59

Open
fake-name wants to merge 12 commits intoNextdoor:masterfrom
fake-name:master
Open

Support more APScheduler job-types#59
fake-name wants to merge 12 commits intoNextdoor:masterfrom
fake-name:master

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.

1 participant