mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-21 23:12:15 +03:00
adding log for usser IP
This commit is contained in:
parent
e41d771ed4
commit
102815467c
1 changed files with 3 additions and 0 deletions
|
@ -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()),
|
||||
|
|
Loading…
Reference in a new issue