The log-rank test is frequently used to detect a potential treatment effect in randomized clinical trials with time-to-event endpoints. It is asymptotically the most powerful test under the proportional hazards setting, but it has been shown to markedly lose power when the proportional hazards assumption is violated.