Skip to content

Commit

Permalink
Switch result logging to DEBUG level
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-allan committed Jun 19, 2024
1 parent 8d8108d commit f5743a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/omero/util/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ def exc_handler(*args, **kwargs):
self = args[0]
log.info(" Meth: %s.%s", self.__class__.__name__, func.__name__)
rv = func(*args, **kwargs)
log.info(__RESULT, rv)
if log.isEnabledFor(logging.DEBUG):
log.debug(__RESULT, rv)
return rv
except Exception as e:
log.info(__EXCEPT, e)
Expand Down

0 comments on commit f5743a3

Please sign in to comment.