Skip to content

Commit

Permalink
Merge branch 'development'
Browse files Browse the repository at this point in the history
  • Loading branch information
timsavage committed Mar 8, 2024
2 parents a38ac54 + 44d5b3a commit b3180f4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions HISTORY
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
4.15.1
======

Bugfix
------

- Fix for certain edge cases where loglevel is not supplied.


4.15
====

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "pyapp"
version = "4.15"
version = "4.15.1"
description = "A Python application framework - Let us handle the boring stuff!"
authors = ["Tim Savage <tim@savage.company>"]
license = "BSD-3-Clause"
Expand Down
2 changes: 1 addition & 1 deletion src/pyapp/app/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ def configure_logging(self, opts: CommandOptions):
loglevel = opts.log_level
if loglevel == "DEFAULT":
handler = self.resolve_handler(opts)
loglevel = handler.loglevel
loglevel = getattr(handler, "loglevel", logging.INFO)
logging.root.setLevel(loglevel)

# Replay initial entries and remove
Expand Down

0 comments on commit b3180f4

Please sign in to comment.