Commit 3857d71026b4633d6efde1911860363de98bc0fe
Exists in
master
and in
2 other branches
Merge branch 'master' of gitlab.com:gapan/kea
Showing 1 changed file
api/app/Http/Controllers/V1/Partners/XlsiemController.php
View file @
3857d71
... | ... | @@ -7,8 +7,6 @@ |
7 | 7 | use Carbon\Carbon; |
8 | 8 | use Illuminate\Support\Facades\DB; |
9 | 9 | use Salman\Mqtt\Facades\Mqtt; |
10 | -use Illuminate\Http\Request; | |
11 | -use Illuminate\Support\Facades\Log; | |
12 | 10 | |
13 | 11 | class XlsiemController extends Controller |
14 | 12 | { |
... | ... | @@ -45,7 +43,6 @@ |
45 | 43 | ]; |
46 | 44 | } |
47 | 45 | |
48 | - Log::info('Received XL-SIEM report from IP '.\Request::ip().'. Publishing to MQTT and storing into database'); | |
49 | 46 | // publish to MQTT Broker |
50 | 47 | //Mqtt::ConnectAndPublish('xlsiem/event', json_encode($mqttEvents), $request->user()->id); |
51 | 48 | Mqtt::ConnectAndPublish('xlsiem/event', json_encode($mqttEvents), 1); |