implement logging framework and central config