PHP Classes

File: Resources/config/config-sample.yml

Recommend this page to a friend!
  Classes of Roni   Easy PHP Audit Log Bundle   Resources/config/config-sample.yml   Download  
File: Resources/config/config-sample.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Easy PHP Audit Log Bundle
Log specific events according to configuration
Author: By
Last change:
Date: 5 years ago
Size: 1,622 bytes
 

Contents

Class file image Download
# Xiidea Easy Audit Configuration Sample xiidea_easy_audit: #resolver: xiidea.easy_audit.default_event_resolver #Optional #entity_class : MyProject\Bundle\MyBundle\Entity\AuditLog #Required #entity_event_resolver : xiidea.easy_audit.default_entity_event_resolver #Optional #default_logger : true #Optional #user property to use as actor of an event #valid value will be any valid property of your user class ~ user_property : ~ # or username #Required #List of doctrine entity:event you wish to track or set to false to disable logs for doctrine events #doctrine_entities : #Optional # MyProject\Bundle\MyBundle\Entity\MyEntity : [created, updated, deleted] # MyProject\Bundle\MyBundle\Entity\MyEntity2 : [] #List all events you want to track (Optional from v1.2.1 you can now use subscriber to define it) events : #Optional - security.interactive_login - security.authentication.failure : user.event_resolver #- //More event logger_channel: xiidea.easy_audit.logger.service: ["info", "debug"] file.logger: ["!info", "!debug"] #Custom Event Resolver Service #services: #user.event_resolver: #class: Xiidea\EasyAuditBundle\Resolver\UserEventResolver #calls: # - [ setContainer,[ @service_container ] ]