improve logging capabilities