Commit d64cec83 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Logging possible des requêtes reçues et des temps de traitements (SQL, génération HAL).

parent 6d9b6039
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
Journal des modifications
=========================

1.3.6
-----
- Logging possible des requêtes reçues et des temps de traitements (SQL, génération HAL).

1.3.5
-----

+2 −1
Original line number Diff line number Diff line
@@ -25,7 +25,8 @@
        "unicaen/oracle": "^1.2",
        "doctrine/common": "^2.7",
        "zendframework/zend-mvc-console": "^1.2",
        "zendframework/zend-log": "^2.11"
        "zendframework/zend-log": "^2.11",
        "monolog/monolog": "^1.26"
    },
    "require-dev": {
        "zendframework/zend-developer-tools": "^1.1",
+474 −208

File changed.

Preview size limit exceeded, changes collapsed.

+10 −9
Original line number Diff line number Diff line
@@ -2,15 +2,16 @@ version: "2"

services:
  sygal-import-ws:
    container_name: sygal-import-ws-container
    build:
      context: .
      args:
        PHP_VERSION: 7.0
    image: sygal-import-ws-image-php7.0
    container_name: sygal-import-ws-container-php7.0
    environment:
      - http_proxy
      - https_proxy
      - no_proxy
    ports:
     - "8080:80"
      - "8443:443"
    volumes:
      - .:/app
      - /tmp:/tmp
    working_dir: /app
    network_mode: bridge
 No newline at end of file
+13 −0
Original line number Diff line number Diff line
<?php

use ImportData\ApiLogging;
use ImportData\ApiLoggingFactory;

return [
    'logging' => [
        'enabled' => false,
        'params' => [
            'name' => 'fetch_log',
            'file_path' => '/tmp/api-logging.log',
            'max_files' => 5,
        ],
    ],
    'doctrine' => [
        'driver' => [
            'orm_default_xml_driver' => [
@@ -2713,6 +2725,7 @@ return [
    'service_manager' => [
        'factories' => [
            \ImportData\V1\Rest\Version\VersionResource::class => \ImportData\V1\Rest\Version\VersionResourceFactory::class,
            ApiLogging::class => ApiLoggingFactory::class,
        ],
    ],
];
Loading