Python logging example