Using something like this:
try:
# Something...
except Exception as excep:
logger = logging.getLogger("component")
logger.warning("something raised an exception: " + excep)
logger.info("something raised an exception: " + excep)
I would rather not have it on the error-level cause in my special case it is not an error.
In some cases, you might want to use the warnings library. You can have very fine-grained control over how your warnings are displayed.