         logger.post(["ddd": "12345"], tag: "debug")
 
         XCTAssertEqual(testLogStorage.description, "[test.hoge|aaa:123][test.fuga|bbb:456,ccc:789]")
-
-        logger.logStore().clearAll()
-        logger.shutdown()
     }
 
     func testBufferedOutputPlugin_writeLog() {
-        let loggerConfiguration = PURLoggerStandardPluginTest.loggerConfiguration
-        let logger = PURLogger(configuration: loggerConfiguration)
-        let testLogStorage = loggerConfiguration.logStorage
-
         expectation(forNotification: Notification.Name.PURBufferedOutputDidStart.rawValue, object: nil, handler: nil)
         waitForExpectations(timeout: 1.0, handler: nil)
 

        let logStoreOperationDispatchQueue = DispatchQueue(label: "Puree logger test")
    }

    static var loggerConfiguration: TestLoggerConfiguration {
        let configuration = TestLoggerConfiguration()
        let logStoreDBPath = NSTemporaryDirectory() + "/PureeLoggerTest-\(UUID().uuidString).db"
        let logStore = PURLogStore(databasePath: logStoreDBPath)

        XCTAssertTrue(logStorageContent.contains("{buffered.b|aaa:4}"))
        XCTAssertTrue(logStorageContent.contains("{buffered.a|aaa:5}"))
        XCTAssertFalse(logStorageContent.contains("{buffered.a|aaa:6}"))
    }

    func testBufferedOutputPlugin_resumeStoredLogs() {
        expectation(forNotification: Notification.Name.PURBufferedOutputDidStart.rawValue, object: nil, handler: nil)
        waitForExpectations(timeout: 1.0, handler: nil)

