CakePHP-DatabaseLogger-Plugin
CakePHP-DatabaseLogger-Plugin copied to clipboard
sequential calls to log in application: only last one saved to logs database
e.g. I call:
$this->log('This is a detailed message logged to the database1','error'); $this->log('This is a detailed message logged to the database2','error'); $this->log('This is a detailed message logged to the database3','error');
and I only see 'This is a detailed message logged to the database3' in the logs database table.
Please confirm if this is the same case on your side;
Apart from that - love the plugin - thanks!
That is because he forgot to include create() in the write method.
We should probably include that in the log method. On May 4, 2013 5:04 AM, "Mark" [email protected] wrote:
That is because he forgot to include create() in the write method.
— Reply to this email directly or view it on GitHubhttps://github.com/webtechnick/CakePHP-DatabaseLogger-Plugin/issues/1#issuecomment-17430147 .
I did apply some updates and fixes (this one in particular) in my branch at https://github.com/dereuromark/CakePHP-DatabaseLog
Sorry - thought I was talking to another Mark (here, at work). GitHub email comment fail.
Do you want to issue a pull request?