mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-22 23:23:42 -06:00
Fixed logs generated by shlink during API tests
This commit is contained in:
parent
9feb72235a
commit
4439685403
@ -33,7 +33,7 @@
|
|||||||
"laminas/laminas-stdlib": "^3.2",
|
"laminas/laminas-stdlib": "^3.2",
|
||||||
"lcobucci/jwt": "^4.0",
|
"lcobucci/jwt": "^4.0",
|
||||||
"league/uri": "^6.2",
|
"league/uri": "^6.2",
|
||||||
"lstrojny/functional-php": "^1.15",
|
"lstrojny/functional-php": "^1.17",
|
||||||
"mezzio/mezzio": "^3.3",
|
"mezzio/mezzio": "^3.3",
|
||||||
"mezzio/mezzio-fastroute": "^3.1",
|
"mezzio/mezzio-fastroute": "^3.1",
|
||||||
"mezzio/mezzio-problem-details": "^1.3",
|
"mezzio/mezzio-problem-details": "^1.3",
|
||||||
|
@ -9,7 +9,7 @@ use Laminas\ConfigAggregator\ConfigAggregator;
|
|||||||
use Laminas\Diactoros\Response\EmptyResponse;
|
use Laminas\Diactoros\Response\EmptyResponse;
|
||||||
use Laminas\ServiceManager\Factory\InvokableFactory;
|
use Laminas\ServiceManager\Factory\InvokableFactory;
|
||||||
use Laminas\Stdlib\Glob;
|
use Laminas\Stdlib\Glob;
|
||||||
use Monolog\Handler\RotatingFileHandler;
|
use Monolog\Handler\StreamHandler;
|
||||||
use Monolog\Logger;
|
use Monolog\Logger;
|
||||||
use PDO;
|
use PDO;
|
||||||
use PHPUnit\Runner\Version;
|
use PHPUnit\Runner\Version;
|
||||||
@ -169,9 +169,10 @@ return [
|
|||||||
'Shlink' => [
|
'Shlink' => [
|
||||||
'handlers' => [
|
'handlers' => [
|
||||||
'shlink_handler' => [
|
'shlink_handler' => [
|
||||||
|
'name' => StreamHandler::class,
|
||||||
'params' => [
|
'params' => [
|
||||||
'level' => Logger::DEBUG,
|
'level' => Logger::DEBUG,
|
||||||
'filename' => 'data/log/api-tests/shlink_log.log',
|
'stream' => 'data/log/api-tests/shlink.log',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
@ -179,10 +180,10 @@ return [
|
|||||||
'Access' => [
|
'Access' => [
|
||||||
'handlers' => [
|
'handlers' => [
|
||||||
'access_handler' => [
|
'access_handler' => [
|
||||||
'name' => RotatingFileHandler::class,
|
'name' => StreamHandler::class,
|
||||||
'params' => [
|
'params' => [
|
||||||
'level' => Logger::DEBUG,
|
'level' => Logger::DEBUG,
|
||||||
'filename' => 'data/log/api-tests/access_log.log',
|
'stream' => 'data/log/api-tests/access.log',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user