Lumberjack protocol in Python