changed logv to log