There's a race condition here where the log can be removed by two people at the same time, but that might not be an issue since the end result is more or less the same.