-
Notifications
You must be signed in to change notification settings - Fork 67
Field-based logging #112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Field-based logging #112
Conversation
Add more index to AuditLog/Association
|
Can you reuse the already existing config
Make |
|
I put it in a separate config because my goal was to keep it running smoothly. Anyway, it will not be backwards compatible because the logic is a single array with numeric key value and the new logic is a multi-dimensional array with fqcn key value. And I don't know how to check in Configuration if the array key is numeric or string. PHPStorm answer: Invalid child element in a block sequence All kinds of things should be touched after the update:( |
|
Maybe you're right. This way the confusion will be smaller. |
add deprecation and validate to Configuration.php phpunit fixes
|
We have what you asked for! |
|
Great job @dozsan ! This project was abandoned for some time. But I think it has potential and it's good it's alive again. For me is the best audit bundle and very useful for investigation. |
|
@indjeto |
|
No worries. I'll fine tune some things and will push release. |
|
@dozsan I made a release, but then deleted. How can I add one entity but excluding some of it's fields? An option could be to have one more field - "excludedFields"? |
|
Basically, the mode determines what we want to do. In this case, we exclude password, createdAt, updateAt from the Account entity. They will not be in the log |
|
Ok, so this mode is for the fields, and if no fields specified - for the whole entity. |
The point of the development is that the entity can be narrowed down in terms of fields. You can include and extend it, which can put fields into it in a meaningful way. This way we can make sure that the password on a user entity is not written to the audit log