Skip to content

Commit

Permalink
Fix some loggign
Browse files Browse the repository at this point in the history
  • Loading branch information
mpiannucci committed Nov 7, 2024
1 parent 6f0189a commit 6637965
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xpublish_wms/wms/get_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ def render(
x = x.compute()
y = y.compute()

logger.warning(f"WMS GetMap dask compute: {time.time() - start_dask}")
logger.info(f"WMS GetMap dask compute: {time.time() - start_dask}")

if minmax_only:
try:
Expand Down Expand Up @@ -364,7 +364,7 @@ def render(
how="linear",
span=(vmin, vmax),
)
logger.warning(f"WMS GetMap Shade time: {time.time() - start_shade}")
logger.info(f"WMS GetMap Shade time: {time.time() - start_shade}")

im = shaded.to_pil()
im.save(buffer, format="PNG")
Expand Down

0 comments on commit 6637965

Please sign in to comment.