     /// Writes an entry to the log file.
     public override func write(entryString: String) {
         if let chnl = self.channel, data = (entryString + "\n").dispatchDataUsingEncoding(NSUTF8StringEncoding) {
-            dispatch_io_write(chnl, 0, data, dispatch_get_global_queue(QOS_CLASS_DEFAULT, 0), { done, data, errno in })
+            dispatch_io_write(chnl, 0, data, dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), { done, data, errno in })
         } else {
             assertionFailure("Failure to create dispatch_data_t from entry string")
         }

    private let session: NSURLSession
    private let request: NSURLRequest
    private let successCodes: Set<Int>
    private let timer: dispatch_source_t = dispatch_source_create(DISPATCH_SOURCE_TYPE_TIMER, 0, 0, dispatch_get_global_queue(QOS_CLASS_DEFAULT, 0))
    private let lockQueue: dispatch_queue_t = dispatch_queue_create("lx-HTTPEndpoint-lockQueue", DISPATCH_QUEUE_SERIAL)
    private var pendingUploads: [NSData] = []


                path,
                O_WRONLY | O_NONBLOCK | O_APPEND | O_CREAT,
                S_IRUSR | S_IWUSR | S_IRGRP,
                dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0),
                { errno in }
            ) as dispatch_io_t?
        } else {
