Skip to content

Commit

Permalink
Merge pull request #59 from linkml/issue-58-logging-level
Browse files Browse the repository at this point in the history
Use named logger and don't hardcode level
  • Loading branch information
pkalita-lbl authored Dec 18, 2023
2 parents 588804c + 6f4187f commit 80fadb9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/prefixmaps/datamodel/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
PREFIX_RE = re.compile(r"^[\w\.]+$")
NAMESPACE_RE = re.compile(r"http[s]?://[\w\.\-\/]+[#/_:]$")

logger = logging.getLogger()
logger.setLevel(logging.INFO)
logger = logging.getLogger(__name__)


class StatusType(Enum):
Expand Down

0 comments on commit 80fadb9

Please sign in to comment.