Skip to content

Commit

Permalink
Migrate to c2cwsgiutils 6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Feb 5, 2025
1 parent 16b97e1 commit 3e91c06
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion admin/development.ini
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ qualname = sqlalchemy.engine

[handler_console]
class = StreamHandler
args = (sys.stderr,)
kwargs = {'stream': 'ext://sys.stderr'}
level = DEBUG
formatter = generic

Expand Down
2 changes: 1 addition & 1 deletion commons/alembic.ini
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ qualname = alembic

[handler_console]
class = StreamHandler
args = (sys.stderr,)
kwargs = {'stream': 'ext://sys.stderr'}
level = NOTSET
formatter = generic

Expand Down
2 changes: 1 addition & 1 deletion commons/tests/tests.ini
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ qualname = sqlalchemy.engine

[handler_console]
class = StreamHandler
args = (sys.stderr,)
kwargs = {'stream': 'ext://sys.stderr'}
level = DEBUG
formatter = generic

Expand Down
4 changes: 2 additions & 2 deletions docker/qgisserver/acceptance-tests/alembic.ini
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ qualname = alembic

[handler_console]
class = StreamHandler
args = (sys.stderr,)
kwargs = {'stream': 'ext://sys.stderr'}
level = NOTSET
formatter = generic

[handler_json]
class = c2cwsgiutils.pyramid_logging.JsonLogHandler
args = (sys.stdout,)
kwargs = {'stream': 'ext://sys.stdout'}
level = NOTSET

[formatter_generic]
Expand Down
3 changes: 1 addition & 2 deletions docker/qgisserver/logging.ini
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,12 @@ qualname = sqlalchemy.engine

[handler_console]
class = geomapfish_qgisserver.gmf_logging.LogHandler
args = ()
level = NOTSET
formatter = generic

[handler_json]
class = geomapfish_qgisserver.gmf_logging.JsonLogHandler
args = (sys.stderr,)
kwargs = {'stream': 'ext://sys.stderr'}
level = NOTSET
formatter = generic

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ qualname = alembic

[handler_console]
class = StreamHandler
args = (sys.stderr,)
kwargs = {'stream': 'ext://sys.stderr'}
level = NOTSET
formatter = generic

[handler_json]
class = c2cwsgiutils.pyramid_logging.JsonLogHandler
args = (sys.stdout,)
kwargs = {'stream': 'ext://sys.stdout'}
level = NOTSET

[formatter_generic]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ qualname = dogpile.cache

[handler_console]
class = StreamHandler
args = (sys.stderr,)
kwargs = {'stream': 'ext://sys.stderr'}
level = NOTSET
formatter = generic

Expand Down

0 comments on commit 3e91c06

Please sign in to comment.