PHP Classes
elePHPant
Icontem

File: Tests/Functional/config/config.yml

Recommend this page to a friend!
  Classes of Roni  >  Easy PHP Audit Log Bundle  >  Tests/Functional/config/config.yml  >  Download  
File: Tests/Functional/config/config.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: 8 months ago
Size: 1,046 bytes
 

Contents

Class file image Download
imports:
    - { resource: common/framework.yml }
    - { resource: common/security.yml }

xiidea_easy_audit:
    entity_class : Xiidea\EasyAuditBundle\Tests\Functional\Bundle\TestBundle\Entity\AuditLog
    user_property : username
    doctrine_entities : false
    default_logger : false

    events :                                                                      #Optional
        - simple.event
        - simple.event2

    logger_channel:
        xiidea.easy_audit.logger.service: ["!emergency"]
        xiidea.easy_audit.logger.service2: ["emergency"]


services:
    xiidea.easy_audit.logger.service:
          class: Xiidea\EasyAuditBundle\Tests\Functional\Bundle\TestBundle\Logger\FileLogger
          arguments: ["%kernel.cache_dir%"]
          tags:
             - { name: easy_audit.logger }

    xiidea.easy_audit.logger.service2:
          class: Xiidea\EasyAuditBundle\Tests\Functional\Bundle\TestBundle\Logger\FileLogger
          arguments: ["%kernel.cache_dir%2"]
          tags:
             - { name: easy_audit.logger }