add logging framework