Nothing externally is using log provider and I don't think it should be exposed
Remove deep copy commented block
remove unnecessary throws clause for runtime exception