Skip to content
This repository was archived by the owner on Jan 16, 2019. It is now read-only.

Added properties to define which actions should be logged. The index action is not logged by default anymore.#3

Open
datenfalke wants to merge 4 commits intocakebake:masterfrom
datenfalke:master
Open

Added properties to define which actions should be logged. The index action is not logged by default anymore.#3
datenfalke wants to merge 4 commits intocakebake:masterfrom
datenfalke:master

Conversation

@datenfalke
Copy link
Copy Markdown

No description provided.

Falco Kleinschmidt added 4 commits February 11, 2017 21:14
…te which are checked if true in the behaviour before creating the log entry. Now you can select which kinds of actions (index, create, update or delete) create a log entry, when you attache the behaviour:

public function behaviors()
    {
        return [
            'actionlog' => [
                'class' => 'cakebake\actionlog\behaviors\ActionLogBehavior',
                'logcreate' => true,
                'logupdate' => true,
                'logdelete' => true,
                'logindex' => false,
            ],
        ];
    }
    The standard configuration is the above with an disabled index action log because these log entries got too much.
@danchello
Copy link
Copy Markdown

Why is this still not merged?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants