updated logging framework