Updated loggging.