Browse Source

Cambio level monolog. Se loguea por amqp en prod unicamente

Espinoza Guillermo 6 năm trước cách đây
mục cha
commit
d6b964291f
2 tập tin đã thay đổi với 1 bổ sung6 xóa
  1. 0 5
      app/config/config_dev.yml
  2. 1 1
      app/config/config_prod.yml

+ 0 - 5
app/config/config_dev.yml

@@ -27,11 +27,6 @@ monolog:
             type:  stream
             path:  "%kernel.logs_dir%/%kernel.environment%.log"
             level: debug
-        amqp:
-            type:               service
-            id:                 monolog.amqp
-            level:              debug
-            channels: ['devicelog', 'webservice']
         console:
             type: console
             process_psr_3_messages: false

+ 1 - 1
app/config/config_prod.yml

@@ -25,7 +25,7 @@ monolog:
         amqp:
             type:               service
             id:                 monolog.amqp
-            level:              debug
+            level:              error
             channels: ['devicelog', 'webservice']
         console:
             type: console