 import RxSwift
 import RxRealm
 import RxCocoa
+import os.log
 
 public final class Storage {
 

                if let session = backgroundRealm.object(ofType: Session.self, forPrimaryKey: resource.identifier) {
                    resource.session = session
                } else {
                    print("Expected session to match related activity identifier: \(resource.identifier)")
                }
            }


    public let realm: Realm

    let disposeBag = DisposeBag()
    private let log = OSLog(subsystem: "ConfCore", category: "Storage")

    public init(_ configuration: Realm.Configuration) throws {
        var config = configuration
