cc01c9f2 by G Manojkumar

minor changes for log

1 parent fc54e023
......@@ -47,8 +47,8 @@ class SmsController extends Controller
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
Log::useFiles(storage_path().'/logs/SMS_Messages.log');
Log::info("|".date('Y-m-d H:i:s', strtotime('+5 hours 30 minutes'))."|".$kstychCall['callnumber']."|".$msgText."|".$response);
Log::useFiles(storage_path().'/logs/SMS_Messages'.date("Y-m-d").'.log');
Log::info("|".date('Y-m-d H:i:s', strtotime('+5 hours 30 minutes'))."|".Auth::user()->fullname."|".$kstychCall['callnumber']."|".$msgText."|".$response);
//Log::info($response);
curl_close($ch);
} catch(Exception $e) {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!