Skip to content

sequential calls to log in application: only last one saved to logs database #1

Description

@gr0g

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!

Activity

  1. dereuromark commented on May 4, 2013

    @dereuromark

    That is because he forgot to include create() in the write method.

  2. dereuromark commented on May 6, 2013

    @dereuromark

    I did apply some updates and fixes (this one in particular) in my branch at https://github.com/dereuromark/CakePHP-DatabaseLog

  3. zeroasterisk commented on May 6, 2013

    @zeroasterisk
    Collaborator

    Sorry - thought I was talking to another Mark (here, at work). GitHub email comment fail.

    Do you want to issue a pull request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions