mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-13 16:56:09 +01:00
install log in py
This commit is contained in:
@@ -28,5 +28,8 @@ class InstallLog:
|
||||
"%m.%d.%Y_%H-%M-%S") + "] " + message + "\n")
|
||||
file.close()
|
||||
|
||||
try:
|
||||
finalData = json.dumps({'ipAddress': InstallLog.ServerIP, "InstallCyberPanelStatus": message})
|
||||
requests.post(InstallLog.LogURL, data=finalData, verify=False)
|
||||
except:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user