             .replace("!UA!", encodeURIComponent(client.ua))
             .replace("!UUID!", client.session_id)
 
-        debug "Ad request URI is #{uri}"
+        pdebug "Ad request URI is #{uri}"
 
         # -- make a request to the ad server -- #
 

                                                    if err
                                                        @stream.log.error "Failed to hit impression URL #{obj.impressionURL}: #{err}"
                                                    else
                                                        debug "Impression URL hit successfully."
                                            else
                                                @stream.log.debug "Session reached preroll impression criteria, but no impression URL present."
                                                debug "No impression URL found."
                                else
                                    err = new Error "Non-200 response from transcoder."
                                    debug err
                                    detach err
                            .once "error", (err) =>
                                debug "Transcoder request error: #{err}"
                                detach err

                    else


        count = @_counter++

        pdebug = (msg,args...) ->
            debug "#{count}: #{msg}", args...

        # If the preroll request can't be made in 5 seconds or less,
        # abort the preroll.
        # TODO: Make the timeout wait configurable
        prerollTimeout = setTimeout(=>
            @stream.log.debug "preroll request timeout. Aborting.", count
            pdebug "Hit timeout. Triggering abort."
            req.abort()
            aborted = true
            detach new Error("Preroll request timed out.")
