Skip to content

(WIP) Re-introduce "logging" to default config and update docstrings#4642

Draft
hristog wants to merge 5 commits into
dask:mainfrom
hristog:update-config-refs-and-logging
Draft

(WIP) Re-introduce "logging" to default config and update docstrings#4642
hristog wants to merge 5 commits into
dask:mainfrom
hristog:update-config-refs-and-logging

Conversation

@hristog

@hristog hristog commented Mar 27, 2021

Copy link
Copy Markdown
Contributor
  • Closes #xxxx N/A
  • Tests added / passed (4 updated, 1 still failing, WIP)
    • tests/test_config.py: test_logging_simple
    • tests/test_config.py: test_logging_extended
    • tests/test_config.py: test_schema_is_complete
    • tests/test_config.py: test_logging_file_config
  • Passes black distributed / flake8 distributed

The proposed PR:

  • Re-enables the logging section of distributed/distributed.yaml.
  • Updates distributed/distributed-schema.yaml accordingly.
  • Updates unit tests.

Some further details:

Please, feel free to reject or propose changes (the documentation will probably need to be updated to indicate clearly that "logging" isn't supposed to be available by default) to this PR, if the "logging" section was intentionally removed from distributed.yaml (due to verbosity concerns or otherwise).

Some related issues/PRs, for reference: #2839, #2937, #2952.

hristog added 2 commits March 27, 2021 13:40
* `logging` was removed from the config in 399522b (distributed
PR dask#1948), and the assumption made in the present commit is that
it was done unintentionally, since docs/source/configuration.rst
(dask) wasn't updated at the same time with 399522b.

* Later down the line, in response to
https://stackoverflow.com/questions/57829474/dask-config-get-cannot-get-anything,
(dask PR dask#5374) was merged, which didn't update the documentation
either.

* The above two facts, combined together, suggest that `logging`
must've been removed unintentionally from the config.
@hristog hristog marked this pull request as draft March 28, 2021 10:34
hristog added 3 commits March 28, 2021 12:46
* OK:
  * test_logging_simple
  * test_logging_extended
  * test_schema_is_complete

* Oustanding: test_logging_file_config
@hristog hristog changed the title Re-introduce "logging" to the default config Re-introduce "logging" to default config and update docstrings Mar 28, 2021
@hristog hristog changed the title Re-introduce "logging" to default config and update docstrings (WIP) Re-introduce "logging" to default config and update docstrings Mar 28, 2021
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