Commit 780f6ea744309faa4adeb20662e51cbf11fcbb99

Authored by Adhidarma Hadiwinoto
1 parent 6cd19a9c94
Exists in master

Log on invalid apikey

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

lib/apiserver/index.js
... ... @@ -33,6 +33,7 @@ function apikeyChecker(req, res, next) {
33 33 next();
34 34 }
35 35 else {
  36 + logger.warn('Invalid apikey', { ip: req.ip });
36 37 res.end('APISERVER: Invalid apikey');
37 38 }
38 39 }