Use logging instead of log instance.