Logs for density