Explorar o código

FD3-290 Monolog config para AMQP

Guillermo Espinoza %!s(int64=7) %!d(string=hai) anos
pai
achega
401f9cc138
Modificáronse 2 ficheiros con 48 adicións e 42 borrados
  1. 6 0
      app/config/config_prod.yml
  2. 42 42
      composer.lock

+ 6 - 0
app/config/config_prod.yml

@@ -8,6 +8,7 @@ imports:
 #        query_cache_driver: apc
 
 monolog:
+    channels: ['devicelog', 'webservice']
     handlers:
         main:
             type: fingers_crossed
@@ -19,3 +20,8 @@ monolog:
             level: debug
         console:
             type: console
+        amqp:
+            type: service
+            id: monolog.amqp
+            level: debug
+            channels: ['devicelog', 'webservice']

+ 42 - 42
composer.lock

@@ -755,9 +755,9 @@
             },
             "dist": {
                 "type": "zip",
-                "url": "https://satis.infra.flowdat.com/dist/doctrine/instantiator/doctrine-instantiator-8e884e78f9f0eb1329e445619e04456e64d8051d-zip-681b88.zip",
+                "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d",
                 "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d",
-                "shasum": "62a7b8d59ce1dc5627bd2aed2882f18ff1138219"
+                "shasum": ""
             },
             "require": {
                 "php": ">=5.3,<8.0-DEV"
@@ -1386,7 +1386,7 @@
                 "audit",
                 "bundle"
             ],
-            "time": "2017-11-24T15:24:36+00:00"
+            "time": "2017-11-24 15:24:36"
         },
         {
             "name": "ik/auth-bundle",
@@ -1409,7 +1409,7 @@
                 "auth",
                 "bundle"
             ],
-            "time": "2017-12-05T15:22:24+00:00"
+            "time": "2017-12-05 15:22:24"
         },
         {
             "name": "ik/base-admin-bundle",
@@ -1432,7 +1432,7 @@
                 "bootstrap",
                 "sonata"
             ],
-            "time": "2017-12-14T11:01:09+00:00"
+            "time": "2017-12-14 11:01:09"
         },
         {
             "name": "ik/device-bundle",
@@ -1455,7 +1455,7 @@
                 "bundle",
                 "validators"
             ],
-            "time": "2017-12-13T13:30:22+00:00"
+            "time": "2017-12-13 13:30:22"
         },
         {
             "name": "ik/extra-data-bundle",
@@ -1478,7 +1478,7 @@
                 "bundle",
                 "extra-data"
             ],
-            "time": "2017-12-11T15:48:57+00:00"
+            "time": "2017-12-11 15:48:57"
         },
         {
             "name": "ik/leaflet-bundle",
@@ -1499,7 +1499,7 @@
                 }
             },
             "description": "The Flowdat3 Leaflet Resource",
-            "time": "2017-12-12T17:52:51+00:00"
+            "time": "2017-12-12 17:52:51"
         },
         {
             "name": "ik/migrations-bundle",
@@ -1522,7 +1522,7 @@
                 "bundle",
                 "migrations"
             ],
-            "time": "2017-12-06T17:56:15+00:00"
+            "time": "2017-12-06 17:56:15"
         },
         {
             "name": "ik/oauthclient-bundle",
@@ -1549,7 +1549,7 @@
                 "bundle",
                 "oauth"
             ],
-            "time": "2017-10-11T14:15:38+00:00"
+            "time": "2017-10-11 14:15:38"
         },
         {
             "name": "ik/owner-voter-bundle",
@@ -1572,7 +1572,7 @@
                 "bundle",
                 "owner-voter"
             ],
-            "time": "2017-06-12T15:49:24+00:00"
+            "time": "2017-06-12 15:49:24"
         },
         {
             "name": "ik/redis-bundle",
@@ -1596,7 +1596,7 @@
                 "php-redis-service",
                 "redis"
             ],
-            "time": "2017-11-16T13:08:02+00:00"
+            "time": "2017-11-16 13:08:02"
         },
         {
             "name": "ik/stats/base-stats-bundle",
@@ -1617,7 +1617,7 @@
                 "BaseStatsBundle",
                 "Flowdat 3"
             ],
-            "time": "2017-11-22T12:31:48+00:00"
+            "time": "2017-11-22 12:31:48"
         },
         {
             "name": "ik/stats/fiberhome-bundle",
@@ -1638,7 +1638,7 @@
                 "Fiberhome",
                 "Flowdat 3"
             ],
-            "time": "2017-11-22T12:33:33+00:00"
+            "time": "2017-11-22 12:33:33"
         },
         {
             "name": "ik/stats/fiberlink-bundle",
@@ -1659,7 +1659,7 @@
                 "Fiberlink",
                 "Flowdat 3"
             ],
-            "time": "2017-11-22T12:32:28+00:00"
+            "time": "2017-11-22 12:32:28"
         },
         {
             "name": "ik/stats/geoserver-bundle",
@@ -1680,7 +1680,7 @@
                 "Flowdat 3",
                 "Geoserver"
             ],
-            "time": "2017-12-05T13:47:49+00:00"
+            "time": "2017-12-05 13:47:49"
         },
         {
             "name": "ik/stats/huawei-bundle",
@@ -1701,7 +1701,7 @@
                 "Flowdat 3",
                 "Huawei"
             ],
-            "time": "2017-11-22T12:33:56+00:00"
+            "time": "2017-11-22 12:33:56"
         },
         {
             "name": "ik/stats/zte-bundle",
@@ -1722,7 +1722,7 @@
                 "Flowdat 3",
                 "Zte"
             ],
-            "time": "2017-11-24T14:05:31+00:00"
+            "time": "2017-11-24 14:05:31"
         },
         {
             "name": "ik/statsd-bundle",
@@ -1743,7 +1743,7 @@
                 "stats",
                 "statsd"
             ],
-            "time": "2017-12-07T15:46:51+00:00"
+            "time": "2017-12-07 15:46:51"
         },
         {
             "name": "ik/webservice-bundle",
@@ -1751,7 +1751,7 @@
             "source": {
                 "type": "git",
                 "url": "ssh://git@infra.flowdat.com:222/VendorSoftwareFlowdat3/Webservice.git",
-                "reference": "b8c87a6793040baf025a96ee9ee3408b0f6cec3d"
+                "reference": "75b52a5100bdb19cf6006dea5a8a92ae3047d87c"
             },
             "require": {
                 "ext-curl": "*",
@@ -1764,7 +1764,7 @@
                 }
             },
             "description": "The Flowdat3 Webservice Rest",
-            "time": "2017-11-29T14:00:21+00:00"
+            "time": "2017-12-18 13:14:57"
         },
         {
             "name": "ik/workflow-bundle",
@@ -1802,7 +1802,7 @@
                 "bundle",
                 "workflow"
             ],
-            "time": "2017-11-09T15:34:00+00:00"
+            "time": "2017-11-09 15:34:00"
         },
         {
             "name": "incenteev/composer-parameter-handler",
@@ -1865,9 +1865,9 @@
             },
             "dist": {
                 "type": "zip",
-                "url": "https://satis.infra.flowdat.com/dist/jdorn/sql-formatter/jdorn-sql-formatter-64990d96e0959dff8e059dfcdc1af130728d92bc-zip-8e3318.zip",
+                "url": "https://api.github.com/repos/jdorn/sql-formatter/zipball/64990d96e0959dff8e059dfcdc1af130728d92bc",
                 "reference": "64990d96e0959dff8e059dfcdc1af130728d92bc",
-                "shasum": "d429297f4037b36998a461ab5e499b769da334c5"
+                "shasum": ""
             },
             "require": {
                 "php": ">=5.2.4"
@@ -2078,9 +2078,9 @@
             },
             "dist": {
                 "type": "zip",
-                "url": "https://satis.infra.flowdat.com/dist/jms/serializer-bundle/jms-serializer-bundle-85ee039a2b7f89d77c403e33cee7b43a875c31e5-zip-e99b92.zip",
+                "url": "https://api.github.com/repos/schmittjoh/JMSSerializerBundle/zipball/85ee039a2b7f89d77c403e33cee7b43a875c31e5",
                 "reference": "85ee039a2b7f89d77c403e33cee7b43a875c31e5",
-                "shasum": "8ceb3e6f31ad9b250fe9070661ee2d4b4d52c0f2"
+                "shasum": ""
             },
             "require": {
                 "jms/serializer": "^1.7",
@@ -2560,7 +2560,7 @@
                 "oss_snmp",
                 "snmp"
             ],
-            "time": "2017-11-28T13:23:43+00:00"
+            "time": "2017-11-28 13:23:43"
         },
         {
             "name": "paragonie/random_compat",
@@ -3452,7 +3452,7 @@
                 "bootstrap",
                 "sonata"
             ],
-            "time": "2017-10-04T12:16:04+00:00"
+            "time": "2017-10-04 12:16:04"
         },
         {
             "name": "sonata-project/block-bundle",
@@ -4880,7 +4880,7 @@
                 }
             ],
             "description": "REST API Generator for Symfony 2",
-            "time": "2016-04-18T12:29:38+00:00"
+            "time": "2016-04-18 12:29:38"
         },
         {
             "name": "willdurand/jsonp-callback-validator",
@@ -4984,9 +4984,9 @@
             },
             "dist": {
                 "type": "zip",
-                "url": "https://satis.infra.flowdat.com/dist/myclabs/deep-copy/myclabs-deep-copy-8e6e04167378abf1ddb4d3522d8755c5fd90d102-zip-b7d758.zip",
+                "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/8e6e04167378abf1ddb4d3522d8755c5fd90d102",
                 "reference": "8e6e04167378abf1ddb4d3522d8755c5fd90d102",
-                "shasum": "37b52563a4ae05716e8477fc781cb03e50599a8f"
+                "shasum": ""
             },
             "require": {
                 "php": ">=5.4.0"
@@ -5401,9 +5401,9 @@
             },
             "dist": {
                 "type": "zip",
-                "url": "https://satis.infra.flowdat.com/dist/phpunit/php-file-iterator/phpunit-php-file-iterator-3cc8f69b3028d0f96a9078e6295d86e9bf019be5-zip-184bc9.zip",
+                "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
                 "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
-                "shasum": "d3ce5a919fe743126f331988b9a0f7b8302b999a"
+                "shasum": ""
             },
             "require": {
                 "php": ">=5.3.3"
@@ -5448,9 +5448,9 @@
             },
             "dist": {
                 "type": "zip",
-                "url": "https://satis.infra.flowdat.com/dist/phpunit/php-text-template/phpunit-php-text-template-31f8b717e51d9a2afca6c9f046f5d69fc27c8686-zip-c6bcbd.zip",
+                "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
                 "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
-                "shasum": "4122b00281fc98e1733bd9ca446002393c452f84"
+                "shasum": ""
             },
             "require": {
                 "php": ">=5.3.3"
@@ -5489,9 +5489,9 @@
             },
             "dist": {
                 "type": "zip",
-                "url": "https://satis.infra.flowdat.com/dist/phpunit/php-timer/phpunit-php-timer-3dcf38ca72b158baf0bc245e9184d3fdffa9c46f-zip-c27592.zip",
+                "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
                 "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
-                "shasum": "f67f992aca05457e1e21f619250770b09092ff7b"
+                "shasum": ""
             },
             "require": {
                 "php": "^5.3.3 || ^7.0"
@@ -5730,9 +5730,9 @@
             },
             "dist": {
                 "type": "zip",
-                "url": "https://satis.infra.flowdat.com/dist/sebastian/code-unit-reverse-lookup/sebastian-code-unit-reverse-lookup-4419fcdb5eabb9caa61a27c7a1db532a6b55dd18-zip-2b8d33.zip",
+                "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/4419fcdb5eabb9caa61a27c7a1db532a6b55dd18",
                 "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18",
-                "shasum": "8470a6b3ca913a110aa2580255552a06e995710c"
+                "shasum": ""
             },
             "require": {
                 "php": "^5.6 || ^7.0"
@@ -6246,9 +6246,9 @@
             },
             "dist": {
                 "type": "zip",
-                "url": "https://satis.infra.flowdat.com/dist/sebastian/version/sebastian-version-99732be0ddb3361e16ad77b68ba41efc8e979019-zip-0eee83.zip",
+                "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/99732be0ddb3361e16ad77b68ba41efc8e979019",
                 "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019",
-                "shasum": "dff8de471afebba9fc6837bb8c886ddc7ebe41bb"
+                "shasum": ""
             },
             "require": {
                 "php": ">=5.6"
@@ -6462,7 +6462,7 @@
         "voryx/restgeneratorbundle": 20
     },
     "prefer-stable": false,
-    "prefer-lowest": true,
+    "prefer-lowest": false,
     "platform": {
         "php": ">=5.5.9"
     },