Skip to content

Commit

Permalink
Update LOGGING_CONFIG import in README example
Browse files Browse the repository at this point in the history
Now that inboard has `__all__`, which includes the `LOGGING_CONFIG`, the
`LOGGING_CONFIG` can be imported from the top-level package.
  • Loading branch information
br3ndonland committed Apr 18, 2021
1 parent 827c1c7 commit b9b0f2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ ENV APP_MODULE="package.custom.module:api" WORKERS_PER_CORE="2"
import logging
import os

from inboard.logging_conf import LOGGING_CONFIG
from inboard import LOGGING_CONFIG

# add a custom logging format: set with LOG_FORMAT=mycustomformat
LOGGING_CONFIG["formatters"]["mycustomformat"] = {
Expand Down

0 comments on commit b9b0f2f

Please sign in to comment.