Adding logging framework