Reputation:
I want to create log specially for Paypal, so how to create and write log. I am using syntax like in controller
$this->log("\n The payment status is completed\n", 'paypal_log');
in bootstrap.php
App::uses('CakeLog', 'Log');
Upvotes: 0
Views: 2418
Reputation: 2860
add in bootstrap.php
CakeLog::config('my_log', array('engine' => 'FileLog'));
Upvotes: 2