Fix naming of monkeypatch for log4r and RuntimeError