imporved logging for session debug

This commit is contained in:
Henry Oswald 2014-09-10 08:20:36 +01:00
parent bed78665f5
commit d961b48857
3 changed files with 1 additions and 3 deletions

View file

@ -42,7 +42,6 @@ module.exports = TemplatesWebController =
disposition = "inline"
else
disposition = "attachment"
console.log "HEADER", "#{disposition}; filename=#{name};"
res.header({"content-disposition": "#{disposition}; filename=#{name}.#{req.params.file_type};"})
logger.log url:url, template_name: name, disposition: disposition, "proxying request to templates api"

View file

@ -62,7 +62,7 @@ app.configure () ->
store: sessionStore
key: cookieKey
app.use (req, res, next)->
console.log req.session, req.url, "session log"
logger.log session:req.session, sessionID:req.sessionID, url:req.url, "session log"
next()
# Measure expiry from last request, not last login

View file

@ -47,7 +47,6 @@ define [
updateHits = (hits)->
$scope.safeApply ->
console.log hits
$scope.hits = hits
$scope.search = ->