Improve loging.