diff --git a/api/app/Http/Controllers/V1/Partners/VdmController.php b/api/app/Http/Controllers/V1/Partners/VdmController.php index 926e924..b7226ea 100644 --- a/api/app/Http/Controllers/V1/Partners/VdmController.php +++ b/api/app/Http/Controllers/V1/Partners/VdmController.php @@ -7,6 +7,8 @@ use App\Http\Controllers\Controller; //use App\Http\Requests\VdmRequest; use Carbon\Carbon; use Illuminate\Support\Facades\DB; +use Illuminate\Http\Request; +use Illuminate\Support\Facades\Log; class VdmController extends Controller { @@ -29,6 +31,7 @@ class VdmController extends Controller // ]; // } // DB::table('vdm')->insert($records); + Log::info('Received VDM report from IP '.\Request::ip().'. Storing into database'); return response()->json(['success' => 'success'], 200); }