Add logging example (with external config). Changes in class example.