Use Python's logging module to log all messages.