     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 timer: dispatch_source_t = dispatch_source_create(DISPATCH_SOURCE_TYPE_TIMER, 0, 0, dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0))
     private let lockQueue: dispatch_queue_t = dispatch_queue_create("lx-HTTPEndpoint-lockQueue", DISPATCH_QUEUE_SERIAL)
     private var pendingUploads: [NSData] = []
 

    code (as defined by `self.successCodes`), the entry will be returned to the pending queue to be tried again later.
    */
    private func uploadPending() {
        dispatch_async(dispatch_get_global_queue(QOS_CLASS_DEFAULT, 0), {
            dispatch_sync(self.lockQueue, {
                for data in self.pendingUploads {
                    let task = self.session.uploadTaskWithRequest(self.request, fromData: data, completionHandler: { body, response, error in

    /// 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(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), { done, data, errno in })
        } else {
            assertionFailure("Failure to create dispatch_data_t from entry string")
        }
