diff --git a/km3io/offline.py b/km3io/offline.py
index aacd6cac35460a7fe937b67bddd6e7f732f2e03c..9a5ac7901a81a8ecb0519da3c196592ed1c23803 100644
--- a/km3io/offline.py
+++ b/km3io/offline.py
@@ -1,4 +1,5 @@
 from collections import namedtuple
+import logging
 import warnings
 import uproot
 import numpy as np
@@ -7,6 +8,8 @@ import awkward as ak
 from .definitions import mc_header
 from .tools import cached_property, to_num, unfold_indices
 
+log = logging.getLogger("offline")
+
 
 class OfflineReader:
     """reader for offline ROOT files"""