docs: function logRequest(req, res) {
      var session = req.session;
      if (!session) return res.send( { noSession:1 } );
  
      // start by logging all query params
      var entry = u.clone(req.query || {});
  
      entry[sessionOpts.logTime || 't'] =
        session.ts ? (Date.now() - session.ts) / 1000 | 0 : 0;
  
      entry[sessionOpts.logPath || 'p'] = req.path;
  
      if (!session.log) {
        session.log = [];
        session.ts = Date.now();
        if (req.get('user-agent')) { session.ua = req.get('user-agent'); }
      }
  
      var n = session.log.push(entry);
      res.send( { n:n } );
    }