Skip to content

Commit

Permalink
Fix extern.parse logging bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadair committed Nov 18, 2020
1 parent df69aa2 commit 9fc43f6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions sunpy/__init__.py
Expand Up @@ -55,8 +55,6 @@ def _get_bibtex():
# Load user configuration
config = load_config()

# Use the root logger as a dummy log before initializing Astropy's logger
log = logging.getLogger()
log = _init_log(config=config)

__all__ = ['config', 'self_test', 'system_info', 'print_config']
2 changes: 1 addition & 1 deletion sunpy/extern/parse.py
Expand Up @@ -471,7 +471,7 @@

__all__ = 'parse search findall with_pattern'.split()

log = logging.getLogger(__name__)
log = logging.getLogger("parse")


def with_pattern(pattern, regex_group_count=None):
Expand Down

0 comments on commit 9fc43f6

Please sign in to comment.