diff --git a/python/mxboard/event_file_writer.py b/python/mxboard/event_file_writer.py
index <HASH>..<HASH> 100644
--- a/python/mxboard/event_file_writer.py
+++ b/python/mxboard/event_file_writer.py
@@ -32,6 +32,8 @@ import six
 from .proto import event_pb2
 from .record_writer import RecordWriter
 
+logging.basicConfig()
+
 
 class EventsWriter(object):
     """Writes `Event` protocol buffers to an event file. This class is ported from
Fix logging problem in py<I>