Improved logging behavior to improving framework