Revert "Removing unnecessary reference"

This reverts commit 96fa7b858b4f69c19857a5856904046fdb887dc0.
Revert "Replacing LoggerFactory with LoggerProvider"

This reverts commit 8a5b81768b34324b7b9f97f825f5bd9b82462baf.