Skip to content

Commit

Permalink
Minor log changes in __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jirik committed Dec 20, 2023
1 parent edc3ec7 commit 2e5221c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/layman/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,12 @@
pipe.execute()

with app.app_context():
logger.info(f'Adjusting GeoServer roles')

if settings.GEOSERVER_ADMIN_AUTH:
logger.info(f'Ensuring Layman user on GeoServer')
gs_util.ensure_user(settings.LAYMAN_GS_USER, settings.LAYMAN_GS_PASSWORD, settings.GEOSERVER_ADMIN_AUTH)

logger.info(f'Adjusting GeoServer proxy base URL')
gs_util.ensure_proxy_base_url(settings.LAYMAN_GS_PROXY_BASE_URL_WITH_PLACEHOLDERS, settings.LAYMAN_GS_AUTH)

if not IN_UPGRADE_PROCESS:
Expand Down

0 comments on commit 2e5221c

Please sign in to comment.