Commit a721718c authored by Stefano Sanfilippo's avatar Stefano Sanfilippo

Logging IP address from which MAC updates come.

parent fa2bee8d
......@@ -390,7 +390,7 @@ class MACUpdateHandler(BaseHandler):
LOG.warning("Client provided wrong password for MAC update!")
raise HTTPError(403, "Wrong password")
LOG.info("Authorized request to update list of checked-in users.")
LOG.info("Authorized request to update list of checked-in users from IP address {}".format(self.request.remote_ip))
macs = json.loads(macs)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment