Skip to content

Commit

Permalink
remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
mdemri committed Dec 17, 2015
1 parent d66887a commit 27d25b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/piwik.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function getFullUrl (req) {
module.exports = function (options) {
return function (req, res, next) {
req.startTime = Date.now()
console.log('piwik')
//console.log('piwik')
onFinished(res, function (err, res) {
var piwik = piwikTracker(options.siteid, options.url)
var status = (!err && res.statusCode < 400) ? 'success' : 'failure'
Expand All @@ -40,7 +40,7 @@ module.exports = function (options) {
cip: getClientIP(req)
}
piwik.track(piwikData)
console.log(JSON.stringify(piwikData))
//console.log(JSON.stringify(piwikData))
})
next()
}
Expand Down

0 comments on commit 27d25b1

Please sign in to comment.