diff --git a/cfgrib/messages.py b/cfgrib/messages.py
index <HASH>..<HASH> 100644
--- a/cfgrib/messages.py
+++ b/cfgrib/messages.py
@@ -260,7 +260,7 @@ class FileStream(collections.Iterable):
                     break
                 except Exception:
                     if self.errors == 'ignore':
-                        logging.exception("skipping corrupted Message")
+                        LOG.exception("skipping corrupted Message")
                     else:
                         raise
Bugfix: minor, use the configured logger.