                  # 867873  # koding.com group ID in papertrail
 
 stripcolorcodes  = require 'stripcolorcodes'
-Papertrail       = new (require 'papertrail') token: '4p4KML0UeU4ijb0swx'
+Papertrail       = new (require 'papertrail') { token: '4p4KML0UeU4ijb0swx' }
 winston          = require 'winston'
 
 module.exports = class KodingLogger

    return scope.replace /%group%/, group


  @search = (options = {}, callback = ->) ->

    { query, from, limit } = options


    query = if query then "#{restriction} AND #{query}" else restriction

    return query

