Slightly better performance for log