adding log for usser IP

This commit is contained in:
Edip YILDIZ 2017-08-14 11:33:30 +03:00
parent e41d771ed4
commit 102815467c

View file

@ -72,6 +72,9 @@ class Messaging(object):
data['timestamp'] = Util.timestamp()
data['userIp'] = ip
self.logger.debug('USER IP : '+ str(ip)+ ' IPADDRESSES : '+ str(System.Hardware.Network.ip_addresses()).replace('[', '').replace(']', ''))
data['hardware.monitors'] = str(System.Hardware.monitors()),
data['hardware.screens'] = str(System.Hardware.screens()),
data['hardware.usbDevices'] = str(System.Hardware.usb_devices()),