Limit theorems for the logarithm of sample spacings