Flatten log directories